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

Public Member Functions

 CAutoSafe (CObject *object)
 
void DeleteObject (bool bAll=false)
 
void Init ()
 
bool EventProcess (const Event &event)
 
Error GetError ()
 
bool CreateInterface (bool bSelect)
 
bool Write (char *line)
 
bool Read (char *line)
 
- Public Member Functions inherited from CAuto
 CAuto (CObject *object)
 
virtual void Start (int param)
 
virtual Error IsEnded ()
 
virtual bool Abort ()
 
virtual Error StartAction (int param)
 
virtual bool SetType (ObjectType type)
 
virtual bool SetValue (int rank, float value)
 
virtual bool SetString (char *string)
 
virtual bool GetBusy ()
 
virtual void SetBusy (bool bBuse)
 
virtual void InitProgressTotal (float total)
 
virtual void EventProgress (float rTime)
 
virtual bool GetMotor ()
 
virtual void SetMotor (bool bMotor)
 

Protected Member Functions

int CountKeys ()
 
void LockKeys ()
 
void DownKeys (float progress)
 
void DeleteKeys ()
 
CObject * SearchVehicle ()
 
- Protected Member Functions inherited from CAuto
void CheckInterface (Ui::CWindow *pw, EventType event, bool bState)
 
void EnableInterface (Ui::CWindow *pw, EventType event, bool bState)
 
void VisibleInterface (Ui::CWindow *pw, EventType event, bool bState)
 
void DeadInterface (Ui::CWindow *pw, EventType event, bool bState)
 
void UpdateInterface ()
 
void UpdateInterface (float rTime)
 

Protected Attributes

AutoSafePhase m_phase
 
float m_progress
 
float m_speed
 
float m_timeVirus
 
float m_lastParticle
 
int m_channelSound
 
bool m_bLock
 
int m_countKeys
 
float m_actualAngle
 
float m_finalAngle
 
bool m_bKey [4]
 
Math::Vector m_keyPos [4]
 
int m_keyParti [4]
 
- Protected Attributes inherited from CAuto
CInstanceManager * m_iMan
 
CEventQueue * m_eventQueue
 
Gfx::CEngine * m_engine
 
Gfx::CParticle * m_particle
 
Gfx::CTerrain * m_terrain
 
Gfx::CWater * m_water
 
Gfx::CCloud * m_cloud
 
Gfx::CPlanet * m_planet
 
Gfx::CLightning * m_lightning
 
Gfx::CCamera * m_camera
 
Ui::CInterface * m_interface
 
CRobotMain * m_main
 
CObject * m_object
 
CSoundInterface * m_sound
 
ObjectType m_type
 
bool m_bBusy
 
bool m_bMotor
 
float m_time
 
float m_lastUpdateTime
 
float m_progressTime
 
float m_progressTotal
 

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