- Timestamp:
- May 25, 2009, 8:30:15 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 dependencies
-
- Property svn:mergeinfo changed
/code/branches/pickups merged: 2828,2831,2864,2900 /code/branches/pickups2 merged: 2916-2917,2972,3001,3016,3040-3042,3046,3063
- Property svn:ignore
-
code/trunk/src/orxonox/objects/controllers/HumanController.h
r3053 r3073 34 34 #include "util/Math.h" 35 35 #include "Controller.h" 36 #include "objects/worldentities/pawns/Pawn.h" 36 37 37 38 namespace orxonox … … 56 57 static void boost(); 57 58 static void greet(); 58 static void use();59 59 static void switchCamera(); 60 60 static void mouseLook(); 61 61 static void dropItems(); 62 static void useItem(); 62 63 63 64 static void suicide(); … … 65 66 static void addBots(unsigned int amount); 66 67 static void killBots(unsigned int amount = 0); 68 69 static inline HumanController* getLocalControllerSingleton() 70 { return HumanController::localController_s; } 71 static inline Pawn* getLocalControllerEntityAsPawn() 72 { 73 if (HumanController::localController_s) { 74 return dynamic_cast<Pawn*>(HumanController::localController_s->getControllableEntity()); 75 } else { 76 return NULL; 77 } 78 } 67 79 68 80 private:
Note: See TracChangeset
for help on using the changeset viewer.