§ SetEnergyLevel()
virtual void CPowerContainerObject::SetEnergyLevel |
( |
float |
level | ) |
|
|
pure virtual |
§ GetEnergyLevel()
virtual float CPowerContainerObject::GetEnergyLevel |
( |
| ) |
|
|
pure virtual |
§ SetEnergy()
virtual void CPowerContainerObject::SetEnergy |
( |
float |
energy | ) |
|
|
inlinevirtual |
Set amount of energy in the container, value in range [0..GetCapacity()].
§ GetEnergy()
virtual float CPowerContainerObject::GetEnergy |
( |
| ) |
|
|
inlinevirtual |
Get amount of energy in the container, value in range [0..GetCapacity()].
§ GetCapacity()
virtual float CPowerContainerObject::GetCapacity |
( |
| ) |
|
|
pure virtual |
Return capacity of this power container.
Implemented in COldObject.
§ IsRechargeable()
virtual bool CPowerContainerObject::IsRechargeable |
( |
| ) |
|
|
pure virtual |
Returns true if this power container can be recharged.
Implemented in COldObject.
The documentation for this class was generated from the following file: