Colobot
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Ui::CDebugMenu Class Reference

Public Member Functions

 CDebugMenu (CRobotMain *main, Gfx::CEngine *engine, CObjectManager *objMan, CSoundInterface *sound)
 
void ToggleInterface ()
 
bool EventProcess (const Event &event)
 

Protected Member Functions

void CreateInterface ()
 
void CreateSpawnInterface ()
 
void UpdateInterface ()
 
void DestroyInterface ()
 
bool HandleSpawnObject (ObjectType type, Math::Point mousePos)
 
bool HandleLightning (Math::Point mousePos)
 
bool HandleTeleport (Math::Point mousePos)
 

Protected Attributes

CRobotMainm_main
 
CInterfacem_interface
 
Gfx::CEnginem_engine
 
CObjectManagerm_objMan
 
CSoundInterfacem_sound
 
ObjectType m_spawningType = OBJECT_NULL
 
bool m_lightningActive = false
 
bool m_teleportActive = false
 

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