forked from Shardstone/trail-into-darkness
32 lines
900 B
C#
32 lines
900 B
C#
using Nox.Core;
|
|
using Nox.Platform;
|
|
using UnityEngine;
|
|
|
|
namespace Nox.Game {
|
|
public class TownPlayMode : IPlayMode {
|
|
private readonly PlatformSettings platformSettings;
|
|
private readonly PartyData partyData;
|
|
|
|
public TownPlayMode(PlatformSettings platformSettings, PartyData partyData) {
|
|
this.platformSettings = platformSettings;
|
|
this.partyData = partyData;
|
|
}
|
|
|
|
public bool IsGameModeInitialized { get; private set; }
|
|
|
|
public void EnterPlayMode() {
|
|
if(partyData == 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() { }
|
|
}
|
|
}
|