- Timestamp:
- Mar 28, 2011, 3:55:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/orxonox/worldentities/pawns/Pawn.h
r7889 r8145 53 53 inline bool isAlive() const 54 54 { return this->bAlive_; } 55 56 ///////////////////////////////// me 57 virtual void setReloadRate(float reloadrate); 58 inline float getReloadRate() const 59 { return this->reloadRate_; } 60 61 inline void addShieldHealth(float amount) 62 { this->setShieldHealth(this->shieldHealth_ + amount); } 63 64 ///////////////////////////////// end me 55 65 56 66 virtual void setHealth(float health); … … 151 161 { return NULL; } 152 162 163 /////////////////////////// me 164 float reloadRate_; 165 166 ////////////////////////// end me 167 153 168 float health_; 154 169 float maxHealth_;
Note: See TracChangeset
for help on using the changeset viewer.