#include <SceneManager.h>
◆ SceneManager() [1/2]
SceneManager::SceneManager |
( |
| ) |
|
|
private |
◆ SceneManager() [2/2]
◆ ~SceneManager()
SceneManager::~SceneManager |
( |
| ) |
|
|
private |
◆ DrawCurrentScene()
void SceneManager::DrawCurrentScene |
( |
| ) |
|
|
staticprivate |
◆ Free()
void SceneManager::Free |
( |
| ) |
|
|
staticprivate |
◆ GetCurrentScene()
Scene * SceneManager::GetCurrentScene |
( |
| ) |
|
|
static |
Gets a pointer to the currently active Scene.
Haru, 3/19/2023.
- Returns
- A pointer to the active Scene.
◆ Instance()
◆ operator=()
◆ SetNextScene()
void SceneManager::SetNextScene |
( |
Scene * |
scene | ) |
|
|
static |
Sets the next Scene. SceneManager will switch to the next scene at the top of the next frame.
Haru, 3/19/2023.
- Parameters
-
start | The Scene to switch to. |
◆ SetStartScene()
void SceneManager::SetStartScene |
( |
Scene * |
start | ) |
|
|
static |
Sets the start Scene. Should be set by the user in Ketchup::LoadResources.
Haru, 3/19/2023.
- Parameters
-
start | The Scene to start the game in. |
◆ SwapScene()
void SceneManager::SwapScene |
( |
| ) |
|
|
staticprivate |
◆ UpdateCurrentScene()
void SceneManager::UpdateCurrentScene |
( |
| ) |
|
|
staticprivate |
◆ SceneManagerAttorney
◆ p_currScene
Scene* SceneManager::p_currScene |
|
private |
◆ p_defaultUpdate
◆ p_instance
◆ p_nextScene
Scene* SceneManager::p_nextScene |
|
private |
◆ p_swapUpdate
◆ p_updateStrategy
The documentation for this class was generated from the following files: