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

@ -5,6 +5,21 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace HeavenStudio.Games.Loaders
{
using static Minigames;
public static class CtrBearLoader
{
public static Minigame AddGame(EventCaller eventCaller) {
return new Minigame("blueBear", "Blue Bear \n<color=#eb5454>[WIP don't use]</color>", "B4E6F6", false, false, new List<GameAction>()
{
new GameAction("donut", delegate { BlueBear.instance.SpawnTreat(eventCaller.currentEntity.beat, false); }, 3, false),
new GameAction("cake", delegate { BlueBear.instance.SpawnTreat(eventCaller.currentEntity.beat, true); }, 4, false),
});
}
}
}
namespace HeavenStudio.Games
{
using Scripts_BlueBear;