Changeset 7284 for code/trunk/src/orxonox/controllers/NewHumanController.cc
- Timestamp:
- Aug 31, 2010, 3:37:40 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/controllers/NewHumanController.cc
r7184 r7284 37 37 38 38 #include "core/CoreIncludes.h" 39 #include "core/ ConsoleCommand.h"39 #include "core/command/ConsoleCommand.h" 40 40 #include "worldentities/ControllableEntity.h" 41 41 #include "worldentities/pawns/Pawn.h" … … 49 49 namespace orxonox 50 50 { 51 SetConsoleCommand( NewHumanController, changeMode, false).keybindMode(KeybindMode::OnPress);52 SetConsoleCommand( NewHumanController, accelerate, false).keybindMode(KeybindMode::OnPress);53 SetConsoleCommand( NewHumanController, decelerate, false).keybindMode(KeybindMode::OnPress);54 SetConsoleCommand( NewHumanController, unfire, true).keybindMode(KeybindMode::OnRelease);51 SetConsoleCommand("NewHumanController", "changeMode", &NewHumanController::changeMode).keybindMode(KeybindMode::OnPress); 52 SetConsoleCommand("NewHumanController", "accelerate", &NewHumanController::accelerate).keybindMode(KeybindMode::OnPress); 53 SetConsoleCommand("NewHumanController", "decelerate", &NewHumanController::decelerate).keybindMode(KeybindMode::OnPress); 54 SetConsoleCommand("NewHumanController", "unfire", &NewHumanController::unfire ).keybindMode(KeybindMode::OnRelease).addShortcut(); 55 55 56 56 CreateUnloadableFactory(NewHumanController);
Note: See TracChangeset
for help on using the changeset viewer.