Colobot
|
Entry point into CRobotMain and CMainDialog. More...
#include <controller.h>
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 CController & | GetInstance () |
static CController * | GetInstancePointer () |
static bool | IsCreated () |
![]() | |
static CController * | m_instance = nullptr |
Entry point into CRobotMain and CMainDialog.