00001 00002 00003 #ifndef RENDERABLEOBJECT_H 00004 #define RENDERABLEOBJECT_H 00005 00006 00007 namespace pge { 00008 00009 00010 class IRenderableObject { 00011 public: 00012 //************************************************************************ 00013 // 00014 // Destructor 00015 // 00016 //************************************************************************ 00018 virtual ~IRenderableObject(void) { 00019 } 00020 00021 00022 //************************************************************************ 00023 // 00024 // Functions 00025 // 00026 //************************************************************************ 00027 // Init this object. 00028 virtual bool init(void) = 0; 00029 00031 virtual void render(void) = 0; 00032 00034 virtual void timer(unsigned int delay) = 0; 00035 }; 00036 }; 00037 00038 #endif