Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 4, 2011, 2:53:53 PM (13 years ago)
Author:
simonmie
Message:

Added maxShieldHealth

File:
1 edited

Legend:

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

    r8183 r8184  
    7676
    7777            virtual void decreaseReloadCountdownTime(float dt);
     78
     79            virtual void setMaxShieldHealth(float maxshieldhealth);
     80            inline float getMaxShieldHealth() const
     81                { return this->maxShieldHealth_; }
    7882
    7983///////////////////////////////// end me
     
    97101                { return this->initialHealth_; }
    98102
    99             inline void setShieldHealth(float shieldHealth)
    100             { this->shieldHealth_ = shieldHealth; }
     103            virtual void setShieldHealth(float shieldHealth);
     104
    101105            inline float getShieldHealth()
    102106            { return this->shieldHealth_; }
     
    181185            float reloadWaitCountdown_;
    182186
     187            float maxShieldHealth_;
     188
    183189////////////////////////// end me
    184190
Note: See TracChangeset for help on using the changeset viewer.