diff --git a/Assets/Scripts/Games/FrogHop/FrogHop.cs b/Assets/Scripts/Games/FrogHop/FrogHop.cs
index ee14d1ff6..ffbefbc39 100644
--- a/Assets/Scripts/Games/FrogHop/FrogHop.cs
+++ b/Assets/Scripts/Games/FrogHop/FrogHop.cs
@@ -83,6 +83,20 @@ namespace HeavenStudio.Games.Loaders
},
defaultLength = 4.0f,
},
+ new GameAction("spin", "Spin it Boys!")
+ {
+ function = delegate {
+ var e = eventCaller.currentEntity;
+ if (eventCaller.gameManager.minigameObj.TryGetComponent(out FrogHop instance)) {
+ instance.SpinItBoys(e.beat, e["spotlights"]);
+ }
+ },
+ parameters = new List()
+ {
+ new Param("spotlights", true, "Automatic Spotlights", "Handles spotlight switching automatically."),
+ },
+ defaultLength = 4.0f,
+ },
new GameAction("spotlights", "Spotlights")
{
function = delegate {
@@ -367,6 +381,17 @@ namespace HeavenStudio.Games
MultiSound.Play(sounds.ToArray());
}
+ public void SpinItBoys (double beat, bool spotlights)
+ {
+ CueCommon(beat, spotlights);
+
+ var actions = new List();
+ var sounds = new List();
+
+ BeatAction.New(this, actions);
+ MultiSound.Play(sounds.ToArray());
+ }
+
public void CueCommon(double beat, bool spotlights = true)
{
startBackHop = beat;