Refactors, Introduce GameManager, Lobby work, Docs

This commit is contained in:
2024-12-23 03:15:16 -08:00
parent 299752bd75
commit 0fffa21ff1
10 changed files with 170 additions and 31 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>();
}
}