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 ()
CObjectSearchMetalObject (float &angle, float dMin, float dMax, float aLimit, Error &err)
void DeleteMark (Math::Vector pos, float radius)

Protected Attributes

ObjectType m_type
CObjectm_metal
CObjectm_power
CObjectm_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::CEnginem_engine
Gfx::CLightManagerm_lightMan
Gfx::CParticlem_particle
Gfx::CTerrainm_terrain
Gfx::CWaterm_water
Gfx::CCameram_camera
CMotionm_motion
CBrainm_brain
CPhysicsm_physics
CObjectm_object
CRobotMainm_main
CSoundInterfacem_sound

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