using Nox.Core;
using Nox.Platform;
using UnityEngine;

namespace Nox.Game {
    public class CombatPlayMode : IPlayMode {
        private readonly PlatformSettings platformSettings;
        private readonly PartyDefinition partyDefinition;

        public CombatPlayMode(PlatformSettings platformSettings, PartyDefinition partyDefinition) {
            this.platformSettings = platformSettings;
            this.partyDefinition = partyDefinition;
        }

        public bool IsGameModeInitialized { get; private set; }

        public void EnterPlayMode() {
            if(partyDefinition == null) {
                Debug.LogWarning("CombatPlayMode started without PartyData.");
            }

            Debug.Log("Entering Combat Play Mode");
            IsGameModeInitialized = true;
        }

        public void Tick() { }
        public void LateTick() { }
        public void ExitGameMode() { }
        public void Dispose() { }
    }
}
