forked from Shardstone/trail-into-darkness
First commit on my server, yey!
This commit is contained in:
31
Assets/Code/GameState/PlayModes/TownPlayMode.cs
Normal file
31
Assets/Code/GameState/PlayModes/TownPlayMode.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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() { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user