Added support for "Impure" systems, which only update once per frame and contain their own logic for manipulating the world, instead of relying on a single list of components.

This commit is contained in:
2015-12-13 13:37:14 +01:00
parent 2e321e15a5
commit 8a6030bf57
5 changed files with 60 additions and 28 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
#include "PlayerSystem.h"
void PlayerSystem::Update(World * world, ComponentWrapper & player, double dt)
void PlayerSystem::UpdateComponent(World * world, ComponentWrapper & player, double dt)
{
if (input.Forward) {
m_Direction.z = -1;