ScummVM API documentation
Pegasus::EnergyMonitor Class Reference
Inheritance diagram for Pegasus::EnergyMonitor:
Pegasus::IdlerAnimation

Public Member Functions

void setEnergyValue (const uint32)
 
void startEnergyDraining ()
 
void setEnergyDrainRate (Common::Rational)
 
Common::Rational getEnergyDrainRate ()
 
void stopEnergyDraining ()
 
void drainEnergy (const int32)
 
int32 getCurrentEnergy ()
 
void restoreLastEnergyValue ()
 
void saveCurrentEnergyValue ()
 
void calibrateEnergyBar ()
 

Protected Member Functions

void timeChanged (const TimeValue) override
 
void calcLevelRect (Common::Rect &)
 
void draw (const Common::Rect &) override
 

Protected Attributes

uint32 _barColor
 
Common::Rect _levelRect
 
EnergyStage _stage
 
Sprite _energyLight
 
Blinker _lightBlinker
 
bool _calibrating
 
bool _dontFlash
 

The documentation for this class was generated from the following file: