Changeset 2805 for code/branches/gui/src/orxonox/gamestates/GSRoot.cc
- Timestamp:
- Mar 19, 2009, 4:59:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gamestates/GSRoot.cc
r2800 r2805 80 80 { 81 81 // add console commands 82 FunctorMember<GSRoot>* functor = createFunctor(&GSRoot::exitGame);83 functor->setObject(this);84 this->ccExit_ = createConsoleCommand(functor, "exit");85 CommandExecutor::addConsoleCommandShortcut(this->ccExit_);86 }87 88 {89 // add console commands90 82 FunctorMember01<GameStateBase, const std::string&>* functor = createFunctor(&GameStateBase::requestState); 91 83 functor->setObject(this); … … 114 106 { 115 107 // destroy console commands 116 delete this->ccExit_;117 108 delete this->ccSelectGameState_; 118 109
Note: See TracChangeset
for help on using the changeset viewer.