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::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: