Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
CController Class Reference

Entry point into CRobotMain and CMainDialog. More...

#include <controller.h>

Inheritance diagram for CController:
Inheritance graph
[legend]

Public Member Functions

 CController (CApplication *app, bool loadProfile=true)
 
CApplication * GetApplication ()
 Return CApplication instance.
 
CRobotMain * GetRobotMain ()
 Return CRobotMain instance.
 
Ui::CMainDialog * GetMainDialog ()
 Return CMainDialog instance.
 
void ProcessEvent (Event &event)
 Event processing.
 
void StartApp ()
 Start the application.
 
void StartGame (std::string cat, int chap, int lvl)
 Starts the simulation, loading the given scene.
 

Additional Inherited Members

- Static Public Member Functions inherited from CSingleton< CController >
static CController & GetInstance ()
 
static CController * GetInstancePointer ()
 
static bool IsCreated ()
 
- Static Protected Attributes inherited from CSingleton< CController >
static CController * m_instance = nullptr
 

Detailed Description

Entry point into CRobotMain and CMainDialog.


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