// roll a single die public bool RollDie(PharoahDie die) { if (die == null) { return(false); } GameState.GetCurrentGameState().purchaseBoard.SetState(PurchaseBoard.PurchaseBoardState.isTuckedAway); UnhideDice(); DiceCup.StartRolling(); die.ReadyToRoll(); die.RollDie(); return(true); }
public bool Reroll(PharoahDie die) { if (!die.isActiveDie()) { GameState.Message("Cannot use Scarab on non-active die."); return false; } GameState.Message("Rerolling " + die.name); DiceCup.StartRolling(); die.ReadyToRoll(); die.RollDie(); isConsumed = true; return true; }
public bool Reroll(PharoahDie die) { if (!die.isActiveDie()) { GameState.Message("Cannot use Scarab on non-active die."); return(false); } GameState.Message("Rerolling " + die.name); DiceCup.StartRolling(); die.ReadyToRoll(); die.RollDie(); isConsumed = true; return(true); }
// roll a single die public bool RollDie(PharoahDie die) { if (die == null) return false; GameState.GetCurrentGameState().purchaseBoard.SetState(PurchaseBoard.PurchaseBoardState.isTuckedAway); UnhideDice(); DiceCup.StartRolling(); die.ReadyToRoll(); die.RollDie(); return true; }