|
| CPowerContainerObjectImpl (ObjectInterfaceTypes &types) |
|
void | SetEnergyLevel (float level) override |
| Set energy level (percentage), value in range [0..1].
|
|
float | GetEnergyLevel () override |
| Get energy level (percentage), value in range [0..1].
|
|
| CPowerContainerObject (ObjectInterfaceTypes &types) |
|
virtual void | SetEnergy (float energy) |
| Set amount of energy in the container, value in range [0..GetCapacity()].
|
|
virtual float | GetEnergy () |
| Get amount of energy in the container, value in range [0..GetCapacity()].
|
|
virtual float | GetCapacity ()=0 |
| Return capacity of this power container.
|
|
virtual bool | IsRechargeable ()=0 |
| Returns true if this power container can be recharged.
|
|
The documentation for this class was generated from the following files:
- /build/colobot-H7UdFp/colobot-0.1.6/src/object/implementation/power_container_impl.h
- /build/colobot-H7UdFp/colobot-0.1.6/src/object/implementation/power_container_impl.cpp