- Timestamp:
- Nov 24, 2008, 1:50:47 AM (16 years ago)
- Location:
- code/branches/objecthierarchy2/src/orxonox/objects/controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/controllers/HumanController.cc
r2087 r2254 44 44 SetConsoleCommand(HumanController, fire, true).keybindMode(KeybindMode::OnHold); 45 45 SetConsoleCommand(HumanController, altFire, true).keybindMode(KeybindMode::OnHold); 46 SetConsoleCommand(HumanController, boost, true).keybindMode(KeybindMode::OnHold); 46 47 SetConsoleCommand(HumanController, greet, true); 47 48 SetConsoleCommand(HumanController, use, true); … … 112 113 } 113 114 115 void HumanController::boost() 116 { 117 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 118 HumanController::localController_s->controllableEntity_->boost(); 119 } 120 114 121 void HumanController::greet() 115 122 { -
code/branches/objecthierarchy2/src/orxonox/objects/controllers/HumanController.h
r2087 r2254 54 54 static void altFire(); 55 55 56 static void boost(); 56 57 static void greet(); 57 58 static void use();
Note: See TracChangeset
for help on using the changeset viewer.