Changeset 2918 for code/branches/weapons/src/orxonox/objects/controllers
- Timestamp:
- Apr 18, 2009, 6:14:52 PM (16 years ago)
- Location:
- code/branches/weapons/src/orxonox/objects/controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapons/src/orxonox/objects/controllers/HumanController.cc
r2912 r2918 46 46 SetConsoleCommand(HumanController, rotateRoll, true).setAsInputCommand(); 47 47 SetConsoleCommand(HumanController, fire, true).keybindMode(KeybindMode::OnHold); 48 SetConsoleCommand(HumanController, reload, true); 48 49 SetConsoleCommand(HumanController, boost, true).keybindMode(KeybindMode::OnHold); 49 50 SetConsoleCommand(HumanController, greet, true); … … 114 115 } 115 116 117 void HumanController::reload() 118 { 119 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 120 HumanController::localController_s->controllableEntity_->reload(); 121 } 122 116 123 void HumanController::boost() 117 124 { -
code/branches/weapons/src/orxonox/objects/controllers/HumanController.h
r2912 r2918 52 52 53 53 static void fire(unsigned int firemode); 54 static void reload(); 54 55 55 56 static void boost();
Note: See TracChangeset
for help on using the changeset viewer.