componentInterface.h

Go to the documentation of this file.
00001 #ifndef COMPONENT_INTERFACE_H
00002 #define COMPONENT_INTERFACE_H
00003 
00013 #include "userInput.h"
00014 
00015 
00019 class ComponentInterface {
00020 public:
00021   int w;                        
00022   int h;                        
00023   VXV::Grid position;           
00025   virtual ~ComponentInterface(void) {}
00026 
00038   virtual bool draw(unsigned long ticks, const UserInput& ui) = 0;
00039 
00046   ComponentInterface* setPosition(const VXV::Grid& pos,
00047                                   char align = VXV::Top | VXV::Left);
00048 };
00049 
00050 #endif /* !COMPONENT_INTERFACE_H */
00051 

Generated on Mon Apr 13 22:52:02 2009 by  doxygen 1.5.7.1