Пример #1
0
 /**
  * Gets the ammo it should give after a purchase.
  *
  * @return the ammo it should give after a purchase.
  */
 public int getResultAmmoAmount() {
   return (int)
       SettingsManager.getConfig().get("Gadgets." + type.getConfigName() + ".Ammo.Result-Amount");
 }
Пример #2
0
 /**
  * Gets the price for each ammo purchase.
  *
  * @return the price for each ammo purchase.
  */
 public int getPrice() {
   return (int) SettingsManager.getConfig().get("Gadgets." + type.getConfigName() + ".Ammo.Price");
 }