- Timestamp:
- Nov 26, 2009, 2:09:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/controllers/HumanController.cc
r6149 r6159 95 95 } 96 96 97 void HumanController::moveFrontBack(const Vector2& value) 98 { 99 if (HumanController::localController_s) 100 HumanController::localController_s->frontback(value); 101 } 102 97 103 void HumanController::frontback(const Vector2& value) 98 104 { … … 137 143 } 138 144 145 void HumanController::rotateYaw(const Vector2& value) 146 { 147 if (HumanController::localController_s) 148 HumanController::localController_s->yaw(value); 149 } 150 151 void HumanController::rotatePitch(const Vector2& value) 152 { 153 if (HumanController::localController_s) 154 HumanController::localController_s->pitch(value); 155 } 156 139 157 void HumanController::rotateRoll(const Vector2& value) 140 158 { 141 159 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 142 160 HumanController::localController_s->controllableEntity_->rotateRoll(value); 161 } 162 163 void HumanController::fire(unsigned int firemode) 164 { 165 if (HumanController::localController_s) 166 HumanController::localController_s->doFire(firemode); 143 167 } 144 168
Note: See TracChangeset
for help on using the changeset viewer.