Esempio n. 1
0
 //  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);
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 //  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;
 }