- Timestamp:
- Dec 15, 2008, 11:26:16 PM (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
r2462 r2478 50 50 SetConsoleCommand(HumanController, use, true); 51 51 SetConsoleCommand(HumanController, switchCamera, true); 52 SetConsoleCommand(HumanController, mouseLook, true); 52 53 SetConsoleCommand(HumanController, suicide, true); 53 54 SetConsoleCommand(HumanController, addBots, true).defaultValues(1); … … 142 143 } 143 144 145 void HumanController::mouseLook() 146 { 147 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 148 HumanController::localController_s->controllableEntity_->mouseLook(); 149 } 150 144 151 void HumanController::suicide() 145 152 { -
code/branches/objecthierarchy2/src/orxonox/objects/controllers/HumanController.h
r2462 r2478 58 58 static void use(); 59 59 static void switchCamera(); 60 static void mouseLook(); 60 61 61 62 static void suicide();
Note: See TracChangeset
for help on using the changeset viewer.