Colobot
|
Public Member Functions | |
CTaskFireAnt (COldObject *object) | |
bool | EventProcess (const Event &event) override |
Error | Start (Math::Vector impact) |
Error | IsEnded () override |
bool | Abort () override |
![]() | |
CForegroundTask (COldObject *object) | |
bool | IsBackground () override 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... | |
![]() | |
CTask (COldObject *object) | |
virtual bool | EventProcess (const Event &event) |
virtual Error | IsEnded () |
virtual bool | IsBusy () |
virtual bool | Abort () |
virtual bool | IsPilot ()=0 |
Returns true if you can control the robot while the task is executing. More... | |
virtual bool | IsBackground ()=0 |
Returns true if this task is meant to be run as a background task. More... | |
Protected Attributes | |
Math::Vector | m_impact |
TaskFireAnt | m_phase = TFA_NULL |
float | m_progress = 0.0f |
float | m_speed = 0.0f |
float | m_angle = 0.0f |
bool | m_bError = false |
bool | m_bFire = false |
float | m_time = 0.0f |
float | m_lastParticle = 0.0f |
![]() | |
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 |
|
overridevirtual |
Reimplemented from CTask.