Hooked the two scenes together

What the hell am I doing?
This commit is contained in:
Kayne Ruse
2013-10-27 00:43:37 +11:00
parent 81fab06e3b
commit 43852ce755
5 changed files with 85 additions and 115 deletions
+5 -4
View File
@@ -109,14 +109,15 @@ void EditorApplication::LoadScene(SceneList sceneIndex) {
switch(sceneIndex) {
//add scene creation calls here
case SceneList::FIRST:
// case SceneList::TESTIFICATESCENE:
// activeScene = new TestificateScene();
// break;
case SceneList::EDITORSCENE:
activeScene = new EditorScene();
break;
case SceneList::TESTIFICATESCENE:
activeScene = new TestificateScene();
break;
default:
throw(std::logic_error("Failed to recognize the scene index"));
}