using System;
using UnityEngine;

namespace Unity.BossRoom.Gameplay.GameState
{
    public enum WinState
    {
        Invalid,
        Win,
        Loss
    }

    /// <summary>
    /// Class containing some data that needs to be passed between ServerBossRoomState and PostGameState to represent the game session's win state.
    /// </summary>
    public class PersistentGameState
    {
        public WinState WinState { get; private set; }

        public void SetWinState(WinState winState)
        {
            WinState = winState;
        }
        // public void ResetGameState()
        // {
        //     Debug.Log("[PersistentGameState] Resetting game state for new session.");
        //     m_PlayerData.Clear();
        // }
        public void Reset()
        {
            WinState = WinState.Invalid;
        }
    }
}