Changeset 2324 for code/branches/pickups2/src/orxonox/objects/controllers
- Timestamp:
- Dec 3, 2008, 4:07:49 PM (16 years ago)
- Location:
- code/branches/pickups2/src/orxonox/objects/controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/controllers/HumanController.cc
r2087 r2324 47 47 SetConsoleCommand(HumanController, use, true); 48 48 SetConsoleCommand(HumanController, switchCamera, true); 49 SetConsoleCommand(HumanController, dropItems, true); 49 50 50 51 CreateUnloadableFactory(HumanController); … … 129 130 HumanController::localController_s->controllableEntity_->switchCamera(); 130 131 } 132 133 void HumanController::dropItems() 134 { 135 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 136 HumanController::localController_s->controllableEntity_->dropItems(); 137 } 131 138 } -
code/branches/pickups2/src/orxonox/objects/controllers/HumanController.h
r2087 r2324 57 57 static void use(); 58 58 static void switchCamera(); 59 static void dropItems(); 59 60 60 61 private:
Note: See TracChangeset
for help on using the changeset viewer.