| 1 | #include "Scene/ProjectSceneFactory.h" |
| 2 | |
| 3 | #include "Library/Scene/CreateSceneFunc.h" |
| 4 | |
| 5 | #include "Scene/TitleMenuScene.h" |
| 6 | |
| 7 | const al::NameToCreator<alSceneFunction::SceneCreatorFunction> sProjectSceneFactoryEntries[] = { |
| 8 | {.name: "DemoChangeWorldScene" , .creationFunction: nullptr}, |
| 9 | {.name: "DemoScene" , .creationFunction: nullptr}, |
| 10 | {.name: "DemoSceneWithCinemaCaption" , .creationFunction: nullptr}, |
| 11 | {.name: "EndingScene" , .creationFunction: nullptr}, |
| 12 | {.name: "FirstSequenceScene" , .creationFunction: nullptr}, |
| 13 | {.name: "StageScene" , .creationFunction: nullptr}, |
| 14 | {.name: "StaffRollScene" , .creationFunction: nullptr}, |
| 15 | {.name: "TitleMenuScene" , .creationFunction: alSceneFunction::createSceneFunc<TitleMenuScene>}, |
| 16 | {.name: "WorldWarpHoleScene" , .creationFunction: nullptr}}; |
| 17 | |
| 18 | ProjectSceneFactory::ProjectSceneFactory() : SceneFactory("シーン生成" ) { |
| 19 | initFactory(entries: sProjectSceneFactoryEntries); |
| 20 | } |
| 21 | |