コード例 #1
0
ファイル: Gadget.java プロジェクト: VenaCzPlay/UltraCosmetics
 /**
  * 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
ファイル: Gadget.java プロジェクト: VenaCzPlay/UltraCosmetics
 /**
  * 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");
 }