Changeset 2996 for code/branches/netp3/src/orxonox/gamestates/GSGraphics.cc
- Timestamp:
- May 20, 2009, 4:13:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp3/src/orxonox/gamestates/GSGraphics.cc
r2928 r2996 57 57 namespace orxonox 58 58 { 59 AddGameState(GSGraphics, "graphics" );60 61 GSGraphics::GSGraphics(const std::string& name )62 : GameState(name )59 AddGameState(GSGraphics, "graphics", false); 60 61 GSGraphics::GSGraphics(const std::string& name, bool countTickTime) 62 : GameState(name, countTickTime) 63 63 , inputManager_(0) 64 64 , console_(0) … … 213 213 uint64_t timeBeforeTick = time.getRealMicroseconds(); 214 214 215 this->inputManager_->update(time); // tick console215 this->inputManager_->update(time); 216 216 this->console_->update(time); 217 this->guiManager_->update(time);218 217 219 218 uint64_t timeAfterTick = time.getRealMicroseconds(); … … 222 221 Game::getInstance().addTickTime(timeAfterTick - timeBeforeTick); 223 222 223 // Process gui events 224 this->guiManager_->update(time); 224 225 // Render 225 226 this->graphicsManager_->update(time);
Note: See TracChangeset
for help on using the changeset viewer.