Пример #1
0
		void EntityPlugin::DestroyAllEntities()
		{
			for (auto iter = m_vEnts.begin(); iter != m_vEnts.end(); ++iter)
			{
				IEntity* pEnt = (*iter);
				pEnt->Exit();
				delete pEnt;
			}
			m_vEnts.clear();

		}