#include <SceneManager.h>
Definition at line 22 of file SceneManager.h.
◆ SceneActivatedCallback
◆ SceneManager()
| hellfire::SceneManager::SceneManager |
( |
| ) |
|
◆ ~SceneManager()
| hellfire::SceneManager::~SceneManager |
( |
| ) |
|
◆ clear()
| void hellfire::SceneManager::clear |
( |
| ) |
|
◆ create_default_scene()
| void hellfire::SceneManager::create_default_scene |
( |
| ) |
|
◆ create_scene()
| Scene * hellfire::SceneManager::create_scene |
( |
const std::string & |
name = "GameScene" | ) |
|
◆ destroy_scene()
| void hellfire::SceneManager::destroy_scene |
( |
Scene * |
scene | ) |
|
◆ find_entity_by_name()
| EntityID hellfire::SceneManager::find_entity_by_name |
( |
const std::string & |
name | ) |
|
◆ get_active_camera()
◆ get_active_scene()
| Scene * hellfire::SceneManager::get_active_scene |
( |
| ) |
const |
|
inline |
◆ get_active_scene_asset_id()
| std::optional< AssetID > hellfire::SceneManager::get_active_scene_asset_id |
( |
| ) |
const |
◆ get_camera_entities()
| std::vector< EntityID > hellfire::SceneManager::get_camera_entities |
( |
| ) |
const |
◆ get_scene_asset_id()
| std::optional< AssetID > hellfire::SceneManager::get_scene_asset_id |
( |
Scene * |
scene | ) |
const |
◆ get_scenes()
| std::vector< Scene * > hellfire::SceneManager::get_scenes |
( |
| ) |
|
◆ has_active_scene()
| bool hellfire::SceneManager::has_active_scene |
( |
| ) |
const |
|
inline |
◆ load_scene() [1/2]
| Scene * hellfire::SceneManager::load_scene |
( |
AssetID |
asset_id, |
|
|
const std::filesystem::path & |
filename |
|
) |
| |
◆ load_scene() [2/2]
| Scene * hellfire::SceneManager::load_scene |
( |
const std::filesystem::path & |
filename | ) |
|
◆ save_current_scene()
| void hellfire::SceneManager::save_current_scene |
( |
| ) |
|
◆ save_scene()
| bool hellfire::SceneManager::save_scene |
( |
Scene * |
scene | ) |
|
◆ save_scene_as()
| bool hellfire::SceneManager::save_scene_as |
( |
const std::string & |
filename, |
|
|
Scene * |
scene |
|
) |
| |
◆ set_active_camera()
| void hellfire::SceneManager::set_active_camera |
( |
EntityID |
camera | ) |
const |
◆ set_active_scene()
| void hellfire::SceneManager::set_active_scene |
( |
Scene * |
scene, |
|
|
bool |
should_play = true |
|
) |
| |
◆ set_scene_activated_callback()
◆ set_scene_asset_id()
| void hellfire::SceneManager::set_scene_asset_id |
( |
Scene * |
scene, |
|
|
AssetID |
id |
|
) |
| |
◆ update()
| void hellfire::SceneManager::update |
( |
float |
delta_time | ) |
|
◆ active_scene_
| Scene* hellfire::SceneManager::active_scene_ |
|
private |
◆ scene_activated_callback_
◆ scene_asset_ids_
| std::unordered_map<Scene*, AssetID> hellfire::SceneManager::scene_asset_ids_ |
|
private |
◆ scenes_
| std::vector<Scene*> hellfire::SceneManager::scenes_ |
|
private |
The documentation for this class was generated from the following files: