Changeset 4487 in orxonox.OLD for orxonox/trunk/src/util/loading/game_loader.h
- Timestamp:
- Jun 3, 2005, 12:56:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/loading/game_loader.h
r4411 r4487 42 42 43 43 public: 44 ~GameLoader (); 45 44 46 static GameLoader* getInstance(); 45 47 … … 55 57 void previousLevel(); 56 58 59 /** \brief a world command to send to the GameLoader \param cmd the command */ 57 60 bool worldCommand(Command* cmd); 58 61 ErrorMessage loadDebugCampaign(Uint32 campaignID); 59 62 60 void registerFactory( Factory* factory );63 void registerFactory( Factory* factory ); 61 64 BaseObject* fabricate( TiXmlElement* data); 62 65 … … 65 68 private: 66 69 GameLoader (); 67 ~GameLoader ();68 Uint32 startTime; //!> start time of the campaign69 static GameLoader* singletonRef;70 bool isPaused;71 70 72 Campaign* currentCampaign; //!> the current campaign playing 71 Campaign* fileToCampaign(const char* name); 72 73 private: 74 static GameLoader* singletonRef; //!< The singleton-reference to this object 75 76 Uint32 startTime; //!< start time of the campaign 77 bool isPaused; //!< if the game is paused 78 79 Campaign* currentCampaign; //!< the current campaign playing 73 80 74 Campaign* fileToCampaign(const char* name); 75 EventHandler* eventHandler; 81 EventHandler* eventHandler; //!< reference to the eventHandler 76 82 77 Factory* first;83 Factory* first; //!< the first factory of them all 78 84 }; 79 85
Note: See TracChangeset
for help on using the changeset viewer.