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

Public Member Functions

 CTaskPen (CObject *object)
bool EventProcess (const Event &event)
Error Start (bool bDown, int color)
Error IsEnded ()
bool Abort ()
- Public Member Functions inherited from CTask
 CTask (CObject *object)
virtual bool IsBusy ()

Protected Member Functions

void SoundManip (float time, float amplitude, float frequency)
int AngleToRank (float angle)
float ColorToAngle (int color)
int ColorToRank (int color)

Protected Attributes

bool m_bError
TaskPenPhase m_phase
float m_progress
float m_delay
float m_time
float m_lastParticle
Math::Vector m_supportPos
float m_timeUp
float m_oldAngle
float m_newAngle
float m_timeDown
- 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: