Added a Initialize function for systems.

This commit is contained in:
stiffly
2015-12-11 14:03:00 +01:00
parent 80f028edf2
commit 0b60979c7b
6 changed files with 20 additions and 5 deletions
+2
View File
@@ -8,6 +8,8 @@ public:
: System(eventBroker, "RaptorCopter")
{ }
virtual void Initialize() { }
virtual void Update(World* world, ComponentWrapper& raptorCopter, double dt) override
{
ComponentWrapper& transform = world->GetComponent(raptorCopter.EntityID, "Transform");