Create NetworkManager, Client, and Hud

This commit is contained in:
2024-12-22 05:56:05 -08:00
parent 5a0d82b0fc
commit 186c2e186e
6 changed files with 276 additions and 0 deletions

18
code/Client.cs Normal file
View File

@@ -0,0 +1,18 @@
using LuckerParty.UI;
namespace LuckerParty;
/// <summary>
/// A Lucker Party Client. Entry point for a user (or bot?) to get a UI and become a Spectator or Lucker after they've
/// connected to the lobby.
/// </summary>
public sealed class Client : Component
{
public Connection Connection { get; set; }
protected override void OnStart()
{
GameObject.AddComponent<ScreenPanel>();
GameObject.AddComponent<Hud>();
}
}