Skip to content

IMinigames

namespace Griff.Scenes;
public interface IMinigames : IGameService

Minigames played on top of the scene.

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.

public abstract void Restart(Entity inside)

Starts the minigame inside is in over.