change: Removed dependencies and references to OLD_StateController

This commit is contained in:
Nicholas Novak
2023-05-04 00:51:15 -07:00
parent ee158dd9a1
commit 212695df5d
5 changed files with 32 additions and 109 deletions

View File

@@ -10,6 +10,7 @@ public enum UnlockedItems
Trumpet,
Tambourine,
Clarinet,
Cymbal,
}
public class StateController : MonoBehaviour
@@ -75,6 +76,11 @@ public class StateController : MonoBehaviour
return this.itemProgression >= UnlockedItems.Clarinet;
}
public bool HasCymbal()
{
return this.itemProgression >= UnlockedItems.Cymbal;
}
void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
@@ -132,6 +138,9 @@ public class StateController : MonoBehaviour
case "ClarinetScene":
this.itemProgression = UnlockedItems.Clarinet;
break;
case "MushroomForest":
this.itemProgression = UnlockedItems.Cymbal;
break;
};
#endregion
}