Colobot
Public Member Functions | List of all members
CForegroundTask Class Reference
Inheritance diagram for CForegroundTask:
Inheritance graph
[legend]

Public Member Functions

 CForegroundTask (COldObject *object)
 
bool IsBackground () final
 Returns true if this task is meant to be run as a background task. More...
 
bool IsPilot () override
 Returns true if you can control the robot while the task is executing. More...
 
- Public Member Functions inherited from CTask
 CTask (COldObject *object)
 
virtual bool EventProcess (const Event &event)
 
virtual Error IsEnded ()
 
virtual bool IsBusy ()
 
virtual bool Abort ()
 

Additional Inherited Members

- Protected Attributes inherited from CTask
Gfx::CEnginem_engine = nullptr
 
Gfx::CLightManagerm_lightMan = nullptr
 
Gfx::CParticlem_particle = nullptr
 
Gfx::CTerrainm_terrain = nullptr
 
Gfx::CWaterm_water = nullptr
 
Gfx::CCameram_camera = nullptr
 
CRobotMainm_main = nullptr
 
CSoundInterfacem_sound = nullptr
 
COldObjectm_object = nullptr
 
CProgrammableObjectm_programmable = nullptr
 
CMotionm_motion = nullptr
 
CPhysicsm_physics = nullptr
 

Member Function Documentation

bool CForegroundTask::IsBackground ( )
inlinefinalvirtual

Returns true if this task is meant to be run as a background task.

Implements CTask.

bool CForegroundTask::IsPilot ( )
inlineoverridevirtual

Returns true if you can control the robot while the task is executing.

Implements CTask.

Reimplemented in CTaskFire.


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