Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 28, 2011, 4:43:18 PM (13 years ago)
Author:
simonmie
Message:

added nice particleEffect if shield is hit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gameimmersion/src/orxonox/worldentities/pawns/Pawn.h

    r8145 r8152  
    6161            inline void addShieldHealth(float amount)
    6262            { this->setShieldHealth(this->shieldHealth_ + amount); }
     63
     64            inline bool hasShield()
     65            { return (this->getShieldHealth() > 0); }
    6366
    6467///////////////////////////////// end me
Note: See TracChangeset for help on using the changeset viewer.