Changeset 4408 in orxonox.OLD for orxonox/trunk/src/orxonox.h
- Timestamp:
- May 31, 2005, 12:11:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.h
r4286 r4408 9 9 #include "comincl.h" 10 10 #include "glincl.h" 11 #include "event_listener.h" 12 11 13 12 14 class CommandNode; … … 17 19 class ResourceManager; 18 20 class ObjectManager; 21 class EventHandler; 22 class Event; 19 23 20 24 //! Orxonox core singleton class 21 25 /** 22 26 */ 23 class Orxonox {27 class Orxonox : public EventListener { 24 28 25 29 private: … … 34 38 ResourceManager* resourceManager; //!< The ResourceManager 35 39 ObjectManager* objectManager; //!< the object manager of the game 40 EventHandler* eventHandler; 36 41 37 42 bool bQuitOrxonox; //!< If Orxonox should Quit … … 59 64 void quitGame(); 60 65 61 void eventHandler (SDL_Event* event);66 void graphicsHandler (SDL_Event* event); 62 67 bool systemCommand (Command* cmd); 68 void process(const Event &event); 63 69 64 70 int init (int argc, char** argv);
Note: See TracChangeset
for help on using the changeset viewer.