Changeset 8152 for code/branches/gameimmersion/src/orxonox/worldentities
- Timestamp:
- Mar 28, 2011, 4:43:18 PM (14 years ago)
- Location:
- code/branches/gameimmersion/src/orxonox/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/orxonox/worldentities/pawns/Pawn.cc
r8145 r8152 145 145 ////////me 146 146 this->addShieldHealth(this->getReloadRate() * dt); 147 // TODO max. shield hinzufuegen 147 148 ////////end me 148 149 if (GameMode::isMaster()) -
code/branches/gameimmersion/src/orxonox/worldentities/pawns/Pawn.h
r8145 r8152 61 61 inline void addShieldHealth(float amount) 62 62 { this->setShieldHealth(this->shieldHealth_ + amount); } 63 64 inline bool hasShield() 65 { return (this->getShieldHealth() > 0); } 63 66 64 67 ///////////////////////////////// end me
Note: See TracChangeset
for help on using the changeset viewer.