1#include "SceneCreatorDynamic.hh"
3#include <game/scene/RaceScene.hh>
4#include <game/scene/RootScene.hh>
8EGG::Scene *SceneCreatorDynamic::create(
int sceneId)
const {
9 return create(
static_cast<SceneId
>(sceneId));
12void SceneCreatorDynamic::destroy(
int sceneId)
const {
13 destroy(
static_cast<SceneId
>(sceneId));
17EGG::Scene *SceneCreatorDynamic::create(SceneId sceneId)
const {
20 return new Scene::RootScene;
22 return new Scene::RaceScene;
24 PANIC(
"Unreachable scene creation!");
29void SceneCreatorDynamic::destroy(SceneId sceneId)
const {
36 PANIC(
"Unreachable scene deletion!");
Represents the host application.