Changeset 9979 for code/trunk/src/orxonox/controllers/HumanController.h
- Timestamp:
- Jan 4, 2014, 9:53:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/HumanController.h
r9667 r9979 65 65 static void reload(); 66 66 67 static void keepBoost(); // Static method, keeps boosting. 68 /** 69 @brief Check whether the HumanController is in boosting mode. 70 @return Returns true if it is, false if not. 71 */ 72 inline bool isBoosting(void) 73 { return this->boosting_; } 74 void keepBoosting(void); 75 void terminateBoosting(void); 67 static void boost(const Vector2& value); // Static method, controls boosting. 68 void startBoosting(void); 69 void stopBoosting(void); 76 70 77 71 … … 107 101 bool controlPaused_; 108 102 109 private:110 bool boosting_; // Whether the HumanController is in boosting mode or not.111 Timer boostingTimeout_; // A timer to check whether the player is no longer boosting.112 static const float BOOSTING_TIME; // The time after it is checked, whether the player is no longer boosting.113 114 103 }; // tolua_export 115 104 } // tolua_export
Note: See TracChangeset
for help on using the changeset viewer.