[Add] GameLoop base

This commit is contained in:
2026-03-18 09:13:48 +07:00
parent c819c0d045
commit 537ae1ce5c
28 changed files with 997 additions and 40 deletions
@@ -69,6 +69,12 @@ namespace YachtDice.UI.Presentation
_view.SetDiceLocked(index, isLocked);
}
public void SetRollingEnabled(bool enabled)
{
_view.SetRollButtonInteractable(enabled);
_view.SetDiceInteractable(enabled && _gameLoopController.CurrentRoll > 0);
}
private void HandleRollClicked()
{
RollClicked?.Invoke();