IMinigames
namespace Griff.Scenes;
public interface IMinigames : IGameServiceMinigames played on top of the scene.
Methods
Section titled “Methods”public abstract void End(Entity inside, bool won, int? score)Ends the minigame inside is in, won or lost, with a score (or its own without one).
public abstract void Play(Entity from, string? scene)Plays a minigame (scene, or the one from’s Minigame names), as from’s Minigame says.
Restart
Section titled “Restart”public abstract void Restart(Entity inside)Starts the minigame inside is in over.