using System; using System.Collections.Generic; using LuckerGame.Entities; using Sandbox; namespace LuckerGame.Minigames; public abstract class Minigame : Entity { /// /// The name of this minigame /// public abstract string Name { get; } /// /// Initializes the minigame with a list of luckers playing it. /// /// the players who made it into the minigame public abstract void Initialize(List players); /// /// Once a minigame is loaded and initialized, this method is called once per server tick. /// public abstract void Tick(); /// /// Cleans up any entities and components created by this minigame. /// It is not necessary to remove the lucker's pawns, the manager will do so if any were assigned. /// public abstract void Cleanup(); }