Example #1
0
 /**
  * @param dh
  * @throws BankException
  */
 public void setDC(DevelopmentHand dh) throws BankException {
   soldier.setQuantity(dh.getSoldier());
   monument.setQuantity(dh.getMonument());
   monopoly.setQuantity(dh.getMonopoly());
   yearOfPlenty.setQuantity(dh.getYearOfPlenty());
   roadBuild.setQuantity(dh.getRoadBuild());
 }
Example #2
0
 /**
  * @param dh
  * @throws BankException
  */
 public void modifyDC(DevelopmentHand dh) throws BankException {
   soldier.modify(dh.getSoldier());
   monopoly.modify(dh.getMonopoly());
   yearOfPlenty.modify(dh.getYearOfPlenty());
   monument.modify(dh.getMonument());
   roadBuild.modify(dh.getRoadBuild());
 }