void EntityWorld::check( vector<Entity*>& p_entities, IPerformer* p_performer )
{
	if(!p_entities.empty())
	{
		for ( unsigned int i=0; i<p_entities.size(); i++ )
		{
			Entity* entity = p_entities[i];
			notifyManagers(p_performer, entity);
			m_systemManager->notifySystems(p_performer, entity);
		}
		p_entities.clear();
	}

	// NOTE: This may be a performance issue. Result of direct port of Java impl.
	delete p_performer;
}
Example #2
0
void CurrentMgr::notifyManagers()
{
    notifyManagers(mgr()->root());
}
void GlobalBookmarkManager::notifyManagers() {
    notifyManagers( root() );
}