[Add] GameLoop base
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user