Refactors, Introduce GameManager, Lobby work

This commit is contained in:
2024-12-23 03:15:16 -08:00
parent 299752bd75
commit 9e2fdafa48
9 changed files with 144 additions and 47 deletions

View File

@@ -1,4 +1,4 @@
using LuckerParty.UI;
using System;
namespace LuckerParty;
@@ -10,9 +10,10 @@ public sealed class Client : Component
{
public Connection Connection { get; set; }
public string Name => Connection.DisplayName;
public DateTimeOffset ConnectionTime => Connection.ConnectionTime;
protected override void OnStart()
{
GameObject.AddComponent<ScreenPanel>();
GameObject.AddComponent<Hud>();
}
}