Colobot
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)
 
CApplicationGetApplication ()
 Return CApplication instance.
 
CRobotMainGetRobotMain ()
 Return CRobotMain instance.
 
Ui::CMainDialogGetMainDialog ()
 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 CControllerGetInstance ()
 
static CControllerGetInstancePointer ()
 
static bool IsCreated ()
 
- Static Protected Attributes inherited from CSingleton< CController >
static CControllerm_instance = nullptr
 

Detailed Description

Entry point into CRobotMain and CMainDialog.


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