java.lang.Object
me.deecaad.weaponmechanics.weapon.reload.ammo.MoneyAmmo
All Implemented Interfaces:
IAmmoType

public class MoneyAmmo extends Object implements IAmmoType
  • Constructor Details

    • MoneyAmmo

      public MoneyAmmo(double moneyAsAmmoCost)
  • Method Details

    • hasAmmo

      public boolean hasAmmo(PlayerWrapper playerWrapper)
      Specified by:
      hasAmmo in interface IAmmoType
    • removeAmmo

      public int removeAmmo(org.bukkit.inventory.ItemStack weaponStack, PlayerWrapper playerWrapper, int amount, int maximumMagazineSize)
      Specified by:
      removeAmmo in interface IAmmoType
    • giveAmmo

      public void giveAmmo(org.bukkit.inventory.ItemStack weaponStack, PlayerWrapper playerWrapper, int amount, int maximumMagazineSize)
      Specified by:
      giveAmmo in interface IAmmoType
    • getMaximumAmmo

      public int getMaximumAmmo(PlayerWrapper playerWrapper, int maximumMagazineSize)
      Specified by:
      getMaximumAmmo in interface IAmmoType