[Add] Game Loop Playable
This commit is contained in:
@@ -41,7 +41,7 @@ namespace YachtDice.UI.Presentation
|
||||
|
||||
public void PrepareForRoll()
|
||||
{
|
||||
_view.SetRollButtonState(false, _gameLoopController.CurrentRoll, _gameLoopController.MaxRollsPerTurn);
|
||||
_view.SetRollButtonPending();
|
||||
_view.SetDiceInteractable(false);
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace YachtDice.UI.Presentation
|
||||
{
|
||||
var canRollAgain = _gameLoopController.CanRoll;
|
||||
_view.SetRollButtonState(canRollAgain, rollNumber, _gameLoopController.MaxRollsPerTurn);
|
||||
_view.SetDiceInteractable(true);
|
||||
_view.SetDiceInteractable(canRollAgain);
|
||||
_view.SetAllDiceValues(_diceManager.GetCurrentValues());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user