Internal: separate minigame definitions

This commit is contained in:
minenice55
2022-04-12 12:14:46 -04:00
parent f7d1aaea63
commit be41ff3014
18 changed files with 502 additions and 317 deletions

View File

@ -3,6 +3,24 @@ using UnityEngine;
using HeavenStudio.Util;
namespace HeavenStudio.Games.Loaders
{
using static Minigames;
public static class NtrDjLoader
{
public static Minigame AddGame(EventCaller eventCaller) {
return new Minigame("builtToScaleDS", "Built To Scale (DS)", "00BB00", true, false, new List<GameAction>()
{
new GameAction("spawn blocks", delegate { }, 1f, true),
new GameAction("play piano", delegate { BuiltToScaleDS.instance.PlayPiano(eventCaller.currentEntity.beat, eventCaller.currentEntity.length, eventCaller.currentEntity.type); }, 1f, true, new List<Param>()
{
new Param("type", new EntityTypes.Integer(-24, 24, 0), "Semitones", "The number of semitones up or down this note should be pitched")
} ),
});
}
}
}
namespace HeavenStudio.Games
{
using Scripts_DJSchool;