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

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

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

        public bool IsGameModeInitialized { get; private set; }

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

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

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