[Refactor] Fix GameController
This commit is contained in:
1 parent
244f635062
commit
3031d2e4c2
24 files changed
+708
-303
No files matched your search
@@ -16,6 +16,7 @@ namespace YachtDice.Game
|
||||
|
||||
public int CurrentRoll { get; private set; }
|
||||
public int CurrentTurn { get; private set; }
|
||||
public int MaxRollsPerTurn => maxRollsPerTurn;
|
||||
|
||||
public bool CanRoll => CurrentRoll < maxRollsPerTurn && !_diceManager.IsAnyRolling;
|
||||
public bool CanScore => CurrentRoll > 0 && !_diceManager.IsAnyRolling;
|
||||
|
||||
Reference in new issue
Block a user