Colobot
|
Public Member Functions | |
CTaskShield (COldObject *object) | |
bool | EventProcess (const Event &event) override |
Error | Start (TaskShieldMode mode, float delay) |
Error | IsEnded () override |
bool | IsBusy () override |
bool | Abort () override |
float | GetActiveRadius () |
![]() | |
CBackgroundTask (COldObject *object) | |
bool | IsBackground () override final |
Returns true if this task is meant to be run as a background task. More... | |
bool | IsPilot () override final |
Returns true if you can control the robot while the task is executing. More... | |
![]() | |
CTask (COldObject *object) | |
Protected Member Functions | |
Error | Stop () |
bool | CreateLight (Math::Vector pos) |
void | IncreaseShield () |
float | GetRadius () |
Protected Attributes | |
CShielder * | m_shielder |
TaskShieldPhase | m_phase = TS_UP1 |
float | m_progress = 0.0f |
float | m_speed = 0.0f |
float | m_time = 0.0f |
float | m_delay = 0.0f |
float | m_lastParticle = 0.0f |
float | m_lastRay = 0.0f |
float | m_lastIncrease = 0.0f |
float | m_energyUsed = 0.0f |
bool | m_bError = false |
Math::Vector | m_shieldPos |
int | m_rankSphere = 0 |
int | m_soundChannel = 0 |
int | m_effectLight = 0 |
![]() | |
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 |