Example #1
0
 // Victory Points returned from the number of specific structure colour the player has constructed
 private static int GetVictoryColour(Player p, CardColour c, int amount)
 {
     return p.getCardColourCount(c) * amount;
 }
Example #2
0
 // Victory Points returned from the number of specific structure colour each neighbours constructed
 private static int GetVictoryNeighboursColour(Player east, Player west, CardColour c, int amount)
 {
     return (east.getCardColourCount(c) + west.getCardColourCount(c)) * amount;
 }
Example #3
0
 // Returns the number of coins awarded from the number of specific structure colour each neighbours have constructed
 private static int GetCoinAllColour(Player p, Player east, Player west, CardColour c, int amount)
 {
     return (p.getCardColourCount(c) + east.getCardColourCount(c) + west.getCardColourCount(c)) * amount;
 }