Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 20, 2011, 4:53:43 PM (14 years ago)
Author:
bknecht
Message:

The boost bar is now flashing red when the boost is cooling down. However the solution in OrxonoxOverlay is a bit questionable and could probably be solved less hacky…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hudimprovements/src/orxonox/worldentities/pawns/SpaceShip.h

    r7920 r7932  
    7474                { return this->bBoost_; }
    7575
    76             inline float getBoostPower()
     76            inline float getBoostPower() const
    7777                { return this->boostPower_; }
    78             inline float getInitialBoostPower()
     78            inline float getInitialBoostPower() const
    7979                { return this->initialBoostPower_; }
    8080
     
    8888            inline bool getPermanentBoost() const
    8989                { return this->bPermanentBoost_; }
     90
     91            inline bool isBoostCoolingDown() const
     92                { return bBoostCooldown_; }
    9093
    9194        protected:
Note: See TracChangeset for help on using the changeset viewer.