- Timestamp:
- Apr 4, 2011, 2:14:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/orxonox/worldentities/pawns/Pawn.h
r8152 r8183 64 64 inline bool hasShield() 65 65 { return (this->getShieldHealth() > 0); } 66 67 virtual void setReloadWaitTime(float reloadwaittime); 68 inline float getReloadWaitTime() const 69 { return this->reloadWaitTime_; } 70 71 inline void resetReloadCountdown() 72 { this->reloadWaitCountdown_ = 0; } 73 74 inline void startReloadCountdown() 75 { this->reloadWaitCountdown_ = this->getReloadWaitTime(); } //in projectile.cc einbauen!!!!!!1111!!111! 76 77 virtual void decreaseReloadCountdownTime(float dt); 66 78 67 79 ///////////////////////////////// end me … … 166 178 /////////////////////////// me 167 179 float reloadRate_; 180 float reloadWaitTime_; 181 float reloadWaitCountdown_; 168 182 169 183 ////////////////////////// end me
Note: See TracChangeset
for help on using the changeset viewer.