using System; using UnityEngine; namespace Unity.BossRoom.Gameplay.GameState { public enum WinState { Invalid, Win, Loss } /// /// Class containing some data that needs to be passed between ServerBossRoomState and PostGameState to represent the game session's win state. /// public class PersistentGameState { public WinState WinState { get; private set; } public void SetWinState(WinState winState) { WinState = winState; } public void Reset() { WinState = WinState.Invalid; } } }