using System; using System.Collections.Generic; using UnityEngine; namespace BossRoom { /// /// Interface that models a single state of the BossRoom game. See BossRoomStateManager for more information. /// interface IBossRoomState { /// /// Called when this BossRoomState is transitioned to. /// optional dictionary of parameters to be used by the new gamestate. /// void Initialize( BossRoomStateManager manager, Dictionary stateParams=null ); /// /// Called once per Update by the BossRoomStateManager. /// void Update(); /// /// Called when this BossRoomState ends. /// void Destroy(); /// /// What BossRoomState this object represents. /// BossRoomState State { get; } } }