kick
|
00001 // 00002 // Created by morten on 10/06/14. 00003 // 00004 00005 #pragma once 00006 00007 #include "component.h" 00008 #include "game_object.h" 00009 00010 00011 namespace kick { 00012 // "Mixin" must be added to a Component to enable update events 00013 // Example: 00014 // class RotatorComponent : public Component, public Updatable { 00015 // //... 00016 // } 00017 class Updatable { 00018 public: 00019 virtual void update() = 0; 00020 }; 00021 } 00022 00023