コード例 #1
0
	void EntitySystem::process() {
		if(checkProcessing()) {
			begin();
			processEntities(actives);
			end();
		}
	};
コード例 #2
0
ファイル: EntitySystem.cpp プロジェクト: ufosky/Coment
	// Called by the client to initiate processing
	void EntitySystem::update()
	{
		if (checkProcessing())
		{
			begin();
			processEntities(_entities);
			end();
		}
	}
コード例 #3
0
ファイル: EntitySystem.cpp プロジェクト: Ghirigoro/Coment
	// Called by the client to initiate processing
	void EntitySystem::update()
	{
		if (checkProcessing())
		{
			if (_firstUpdate)
				onFirstUpdate();

			onBegin();
			processEntities(_entities);
			onEnd();
		}
	}