Refactors, Introduce GameManager, Lobby work, Docs
This commit is contained in:
20
code/UI/Lobby.razor
Normal file
20
code/UI/Lobby.razor
Normal file
@@ -0,0 +1,20 @@
|
||||
@namespace LuckerParty.UI
|
||||
@using System
|
||||
@inherits PanelComponent
|
||||
|
||||
<root>
|
||||
<div class="title">This is the Lobby</div>
|
||||
</root>
|
||||
|
||||
@code
|
||||
{
|
||||
public List<Client> Clients { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// the hash determines if the system should be rebuilt. If it changes, it will be rebuilt
|
||||
/// </summary>
|
||||
protected override int BuildHash()
|
||||
{
|
||||
return HashCode.Combine( Clients );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user