Colobot
Public Member Functions | List of all members
CJetFlyingObject Class Referenceabstract

Interface for objects that can fly using a jet engine. More...

#include <jet_flying_object.h>

Inheritance diagram for CJetFlyingObject:
Inheritance graph
[legend]

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...
 
- Public Member Functions inherited from CFlyingObject
 CFlyingObject (ObjectInterfaceTypes &types)
 
- Public Member Functions inherited from CMovableObject
 CMovableObject (ObjectInterfaceTypes &types)
 
virtual CPhysicsGetPhysics ()=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 CMotionGetMotion ()=0
 Returns CMotion instance associated with this object. If the object implements Movable interface, this can be assumed to be != nullptr. More...
 

Detailed Description

Interface for objects that can fly using a jet engine.

Member Function Documentation

virtual void CJetFlyingObject::SetRange ( float  range)
pure virtual

Sets jet engine heating speed (bigger = slower, 0 for infinite)

Implemented in COldObject.

virtual float CJetFlyingObject::GetRange ( )
pure virtual

Returns jet engine heating speed (bigger = slower, 0 for infinite)

Implemented in COldObject.

virtual void CJetFlyingObject::SetReactorRange ( float  reactorRange)
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.

virtual float CJetFlyingObject::GetReactorRange ( )
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.


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