using System; using UnityEngine; namespace BracerLib.StateManagement { /// /// Base StateMap component that can be extended and used for start up or other state loads. /// [DefaultExecutionOrder(-1000)] public class StateMap : MonoBehaviour { /// /// Method to send back the number of states to be utilized. /// public virtual GameState[] GetGameStateMap() => Array.Empty(); /// /// The running requirement set for all state entries. /// public virtual Tuple[] GetGameStateRequirements() => Array.Empty>(); /// /// What is considered the last game ready state to run before starting the game. /// public virtual GameState GetReadyState() => null; } }