Colobot
|
Interface for objects that can fly using a jet engine. More...
#include <jet_flying_object.h>
Public Member Functions | |
CJetFlyingObject (ObjectInterfaceTypes &types) | |
virtual void | SetRange (float range)=0 |
Sets jet engine heating speed (bigger = slower, 0 for infinite) More... | |
virtual float | GetRange ()=0 |
Returns jet engine heating speed (bigger = slower, 0 for infinite) More... | |
virtual void | SetReactorRange (float reactorRange)=0 |
Sets current jet engine heat level (this is actually how much is left before it overheats, so smaller = more hot) More... | |
virtual float | GetReactorRange ()=0 |
Returns current jet engine heat level (this is actually how much is left before it overheats, so smaller = more hot) More... | |
![]() | |
CFlyingObject (ObjectInterfaceTypes &types) | |
![]() | |
CMovableObject (ObjectInterfaceTypes &types) | |
virtual CPhysics * | GetPhysics ()=0 |
Returns CPhysics instance associated with this object. If the object implements Movable interface, and type != OBJECT_TOTO, this can be assumed to be != nullptr. More... | |
virtual CMotion * | GetMotion ()=0 |
Returns CMotion instance associated with this object. If the object implements Movable interface, this can be assumed to be != nullptr. More... | |
Interface for objects that can fly using a jet engine.
|
pure virtual |
Sets jet engine heating speed (bigger = slower, 0 for infinite)
Implemented in COldObject.
|
pure virtual |
Returns jet engine heating speed (bigger = slower, 0 for infinite)
Implemented in COldObject.
|
pure virtual |
Sets current jet engine heat level (this is actually how much is left before it overheats, so smaller = more hot)
Implemented in COldObject.
|
pure virtual |
Returns current jet engine heat level (this is actually how much is left before it overheats, so smaller = more hot)
Implemented in COldObject.