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

Public Member Functions

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

Protected Attributes

float m_delay = 0.0f
 
float m_progress = 0.0f
 
bool m_bError = false
 
bool m_bRay = false
 
bool m_bOrganic = false
 
float m_time = 0.0f
 
float m_speed = 0.0f
 
float m_lastParticle = 0.0f
 
float m_lastSound = 0.0f
 
int m_soundChannel = 0
 
- Protected Attributes inherited from CTask
Gfx::CEngine * m_engine = nullptr
 
Gfx::CLightManager * m_lightMan = nullptr
 
Gfx::CParticle * m_particle = nullptr
 
Gfx::CTerrain * m_terrain = nullptr
 
Gfx::CWater * m_water = nullptr
 
Gfx::CCamera * m_camera = nullptr
 
CRobotMain * m_main = nullptr
 
CSoundInterface * m_sound = nullptr
 
COldObject * m_object = nullptr
 
CProgrammableObject * m_programmable = nullptr
 
CMotion * m_motion = nullptr
 
CPhysics * m_physics = nullptr
 

Member Function Documentation

◆ IsPilot()

bool CTaskFire::IsPilot ( )
overridevirtual

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

Reimplemented from CForegroundTask.


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