Esempio n. 1
0
 public void minusGold(String player, int amount) {
   if (gold.containsKey(player)) gold.put(player, gold.get(player) - amount);
   COBAPI.updateStats(player);
 }
Esempio n. 2
0
 public void setGold(String player, int gold) {
   this.gold.put(player, gold);
   COBAPI.updateStats(player);
 }