Ejemplo n.º 1
0
 public void setupDevelopPhase(Player player)
 {
     //TODO: Give player discount for choosing this phase
     if (!phasesSelected[1]) { phaseMessage = "Develop phase not chosen. Moving to next phase."; allSections[4] = new Section(4, 0, this); allSections[4].minSelectable = 0; skipPhase = true; return; }
     phaseMessage = developPhaseMessage;//"Develop phase: Choose one building from your hand. Then select cards to pay for it.";
     //Clear out phaseSection until we've chosen a thing to build
     allSections[4] = new Section(4, 0, this);
     allSections[4].resetSection();
     //drawCards if have special power
     for (int i = 0; i < player.developDraw; i++)
     {
         player.addCardToHand(deck.Dequeue());
     }
     //player can choose one card from hand to develop
     allSections[6].isSelectable = true;
     allSections[6].maxSelectable = 1;
     allSections[6].minSelectable = 0;
     //Give player temp cost reduction
     if(player.phaseSelected.Equals("II")) player.developReduce++;
 }