#include <GEnergyFormAgent.h>
Inheritance diagram for GBE::GEnergyFormAgent:


Public Member Functions | |
| GEnergyFormAgent (double level_range_min=0, double level_range_max=10, QObject *parent=0, const char *name=0) | |
| virtual | ~GEnergyFormAgent () |
Protected Member Functions | |
| virtual void | run () |
Protected Attributes | |
| double | LevelRangeMin |
| double | LevelRangeMax |
The colour ranges from dark blue to yellow-white between LevelRangeMin and LevelRangeMax.
The energy amount is currently mapped 1:1 to the form radius.
|
||||||||||||||||||||
|
Constructor.
|
|
|
Destructor. |
|
|
Periodically updates the form of the element according to the current energy. Reimplemented from GCS::GAgent. |
|
|
The energy level at which (and above) the form colour is set to light yellow. |
|
|
The energy level at which (and below) the form colour is set to dark blue. |
1.3.6