KoogleApp/KoogleApp/Components/Controls/BoardPanel.razor

36 lines
673 B
Plaintext

@using KoogleApp.Games.Training
@using KoogleApp.Model
@using KoogleApp.Store.Game.Setup
@using KoogleApp.Store.Game.ThrowTimer
@inherits FluxorComponent
@inject IState<SetupState> SetupState
<ThrowTimer/>
<MudGrid>
<MudItem xs="12">
<MudPaper Class="d-flex align-center justify-center mud-width-full py-0">
Tafel
</MudPaper>
</MudItem>
@if (SetupState.Value is { Game: not null })
{
<MudItem xs="12">
<DynamicComponent Type="SetupState.Value.Game.BoardComponentType"/>
</MudItem>
}
</MudGrid>
@code {
public void UpdatePanelState(object boardPanelState)
{
}
}