Colobot
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CMotionToto Class Reference
Inheritance diagram for CMotionToto:
Inheritance graph
[legend]

Public Member Functions

 CMotionToto (COldObject *object)
 
void DeleteObject (bool bAll=false) override
 
void Create (Math::Vector pos, float angle, ObjectType type, float power, Gfx::COldModelManager *modelManager) override
 
bool EventProcess (const Event &event) override
 
Error SetAction (int action, float time=0.2f) override
 
void SetLinkType (ObjectType type)
 
void StartDisplayInfo ()
 
void StopDisplayInfo ()
 
void SetMousePos (Math::Point pos)
 
- Public Member Functions inherited from CMotion
 CMotion (COldObject *object)
 
void SetPhysics (CPhysics *physics)
 
virtual int GetAction ()
 
virtual bool SetParam (int rank, float value)
 
virtual float GetParam (int rank)
 
virtual bool Write (CLevelParserLine *line)
 
virtual bool Read (CLevelParserLine *line)
 
virtual void SetLinVibration (Math::Vector dir)
 
virtual Math::Vector GetLinVibration ()
 
virtual void SetCirVibration (Math::Vector dir)
 
virtual Math::Vector GetCirVibration ()
 
virtual void SetTilt (Math::Vector dir)
 
virtual Math::Vector GetTilt ()
 

Protected Member Functions

bool EventFrame (const Event &event)
 

Protected Attributes

float m_time
 
float m_lastMotorParticle
 
bool m_bDisplayInfo
 
bool m_bQuickPos
 
bool m_bStartAction
 
float m_speedAction
 
float m_clownRadius
 
float m_clownDelay
 
float m_clownTime
 
float m_blinkTime
 
float m_blinkProgress
 
int m_soundChannel
 
ObjectType m_type
 
Math::Point m_mousePos
 
- Protected Attributes inherited from CMotion
CApplicationm_app
 
Gfx::CEnginem_engine
 
Gfx::CParticlem_particle
 
Gfx::CTerrainm_terrain
 
Gfx::CWaterm_water
 
Gfx::CCameram_camera
 
COldObjectm_object
 
CPhysicsm_physics
 
CRobotMainm_main
 
CSoundInterfacem_sound
 
int m_actionType
 
float m_actionTime
 
float m_progress
 
Math::Vector m_linVibration
 
Math::Vector m_cirVibration
 
Math::Vector m_inclinaison
 

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