Create basic Story classes and parameterize monsters in Battle scene
This commit is contained in:
parent
6181a7d50c
commit
0d7f4f4954
17 changed files with 268 additions and 48 deletions
14
Assets/Story/StorySceneDatabase.cs
Normal file
14
Assets/Story/StorySceneDatabase.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class StorySceneDatabase {
|
||||
public static StoryScene Load(SceneId id) {
|
||||
switch (id) {
|
||||
case SceneId.Chapter1_Cave:
|
||||
return new Scene_Chapter1_Cave();
|
||||
default:
|
||||
throw new System.NotImplementedException("StoryScene with id " + id + " missing.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue