Changeset 6115 for code/branches/presentation2/src/orxonox/controllers
- Timestamp:
- Nov 21, 2009, 12:11:25 PM (15 years ago)
- Location:
- code/branches/presentation2/src/orxonox/controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc
r6114 r6115 235 235 NewHumanController::localController_s->controlMode_ = 0; 236 236 } 237 238 void NewHumanController::changedControllableEntity() 239 { 240 this->controlMode_ = 0; 241 this->currentYaw_ = 0; 242 this->currentPitch_ = 0; 243 } 237 244 } -
code/branches/presentation2/src/orxonox/controllers/NewHumanController.h
r6111 r6115 51 51 52 52 static void changeMode(); 53 54 virtual void changedControllableEntity(); 53 55 54 56 protected: … … 56 58 57 59 unsigned int controlMode_; 58 static NewHumanController* localController_s;60 static NewHumanController* localController_s; 59 61 private: 60 62 float currentYaw_; 61 63 float currentPitch_; 62 64 OrxonoxOverlay* crossHairOverlay_; 63 float 65 float overlaySize_; 64 66 ClassTreeMask targetMask_; 65 67 };
Note: See TracChangeset
for help on using the changeset viewer.