Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CTaskBuild Class Reference
Inheritance diagram for CTaskBuild:
Inheritance graph
[legend]

Public Member Functions

 CTaskBuild (CObject *object)
bool EventProcess (const Event &event)
Error Start (ObjectType type)
Error IsEnded ()
bool Abort ()
- Public Member Functions inherited from CTask
 CTask (CObject *object)
virtual bool IsBusy ()

Protected Member Functions

Error FlatFloor ()
bool CreateBuilding (Math::Vector pos, float angle)
void CreateLight ()
void BlackLight ()
CObject * SearchMetalObject (float &angle, float dMin, float dMax, float aLimit, Error &err)
void DeleteMark (Math::Vector pos, float radius)

Protected Attributes

ObjectType m_type
CObject * m_metal
CObject * m_power
CObject * m_building
TaskBuildPhase m_phase
bool m_bError
bool m_bBuild
bool m_bBlack
float m_time
float m_lastParticle
float m_progress
float m_speed
float m_angleY
float m_angleZ
Math::Vector m_buildingPos
float m_buildingHeight
int m_lightRank [TBMAXLIGHT]
int m_soundChannel
- Protected Attributes inherited from CTask
Gfx::CEngine * m_engine
Gfx::CLightManager * m_lightMan
Gfx::CParticle * m_particle
Gfx::CTerrain * m_terrain
Gfx::CWater * m_water
Gfx::CCamera * m_camera
CMotion * m_motion
CBrain * m_brain
CPhysics * m_physics
CObject * m_object
CRobotMain * m_main
CSoundInterface * m_sound

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