#include <MainController.hpp>
|
template<typename TController > |
static TController * | get (std::source_location location=std::source_location::current()) |
| Serves as a single access point for all the Controller types throughout the code base. Make sure to register the controller via App::register_controller before calling this function. More...
|
|
◆ name()
std::string_view engine::test::app::MainController::name |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the controller class name; used for logging.
- Returns
- Controller name
Reimplemented from engine::core::Controller.
◆ initialize()
void engine::test::app::MainController::initialize |
( |
| ) |
|
|
overrideprivatevirtual |
◆ loop()
bool engine::test::app::MainController::loop |
( |
| ) |
|
|
overrideprivatevirtual |
◆ poll_events()
void engine::test::app::MainController::poll_events |
( |
| ) |
|
|
overrideprivatevirtual |
◆ update()
void engine::test::app::MainController::update |
( |
| ) |
|
|
overrideprivatevirtual |
◆ begin_draw()
void engine::test::app::MainController::begin_draw |
( |
| ) |
|
|
overrideprivatevirtual |
◆ draw()
void engine::test::app::MainController::draw |
( |
| ) |
|
|
overrideprivatevirtual |
◆ end_draw()
void engine::test::app::MainController::end_draw |
( |
| ) |
|
|
overrideprivatevirtual |
◆ draw_skybox()
void engine::test::app::MainController::draw_skybox |
( |
| ) |
|
|
private |
◆ draw_backpack()
void engine::test::app::MainController::draw_backpack |
( |
| ) |
|
|
private |
◆ update_camera()
void engine::test::app::MainController::update_camera |
( |
| ) |
|
|
private |
◆ m_backpack_scale
float engine::test::app::MainController::m_backpack_scale {1.0f} |
|
private |
◆ m_draw_gui
bool engine::test::app::MainController::m_draw_gui {false} |
|
private |
◆ m_cursor_enabled
bool engine::test::app::MainController::m_cursor_enabled {true} |
|
private |
The documentation for this class was generated from the following files: