First commit on my server, yey!

This commit is contained in:
Sebastian Bularca
2026-03-19 18:12:07 +01:00
parent 5139ec2cec
commit fedd1961a0
602 changed files with 101587 additions and 6 deletions

View 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() { }
}
}