Interface ProjectileWeaponSpecAPI

All Superinterfaces:
WeaponSpecAPI, WithSourceMod

public interface ProjectileWeaponSpecAPI extends WeaponSpecAPI
  • Method Details

    • getEnergyPerShot

      float getEnergyPerShot()
    • setEnergyPerShot

      void setEnergyPerShot(float energyPerShot)
    • getRefireDelay

      float getRefireDelay()
    • setRefireDelay

      void setRefireDelay(float refireDelay)
    • getBurstSize

      int getBurstSize()
      Specified by:
      getBurstSize in interface WeaponSpecAPI
    • setBurstSize

      void setBurstSize(int burstSize)
    • isInterruptibleBurst

      boolean isInterruptibleBurst()
      Specified by:
      isInterruptibleBurst in interface WeaponSpecAPI
    • setInterruptibleBurst

      void setInterruptibleBurst(boolean interruptibleBurst)
    • getBurstDelay

      float getBurstDelay()
    • setBurstDelay

      void setBurstDelay(float burstDelay)
    • getMinSpread

      float getMinSpread()
      Specified by:
      getMinSpread in interface WeaponSpecAPI
    • setMinSpread

      void setMinSpread(float minSpread)
      Specified by:
      setMinSpread in interface WeaponSpecAPI
    • getMaxSpread

      float getMaxSpread()
      Specified by:
      getMaxSpread in interface WeaponSpecAPI
    • setMaxSpread

      void setMaxSpread(float maxSpread)
      Specified by:
      setMaxSpread in interface WeaponSpecAPI
    • getSpreadDecayRate

      float getSpreadDecayRate()
      Specified by:
      getSpreadDecayRate in interface WeaponSpecAPI
    • setSpreadDecayRate

      void setSpreadDecayRate(float spreadDecayRate)
      Specified by:
      setSpreadDecayRate in interface WeaponSpecAPI
    • getSpreadBuildup

      float getSpreadBuildup()
      Specified by:
      getSpreadBuildup in interface WeaponSpecAPI
    • setSpreadBuildup

      void setSpreadBuildup(float spreadBuildup)
      Specified by:
      setSpreadBuildup in interface WeaponSpecAPI
    • isAutoCharge

      boolean isAutoCharge()
    • setAutoCharge

      void setAutoCharge(boolean autoCharge)
    • getEnergyPerSecond

      float getEnergyPerSecond()
    • setEnergyPerSecond

      void setEnergyPerSecond(float energyPerSecond)
    • isRequiresFullCharge

      boolean isRequiresFullCharge()
    • setRequiresFullCharge

      void setRequiresFullCharge(boolean requiresFullCharge)
    • getProjectileSpeed

      float getProjectileSpeed(MutableShipStatsAPI shipStats, WeaponAPI weapon)
    • setProjectileSpeed

      void setProjectileSpeed(float projectileSpeed)
      Specified by:
      setProjectileSpeed in interface WeaponSpecAPI
    • setSeparateRecoilForLinkedBarrels

      void setSeparateRecoilForLinkedBarrels(boolean individualLinkedRecoil)
    • isSeparateRecoilForLinkedBarrels

      boolean isSeparateRecoilForLinkedBarrels()
    • getProjectileSpec

      Object getProjectileSpec()
      Specified by:
      getProjectileSpec in interface WeaponSpecAPI
    • getChargeTime

      float getChargeTime()
      Specified by:
      getChargeTime in interface WeaponSpecAPI
    • setChargeTime

      void setChargeTime(float chargeTime)
    • getHardpointGunSpriteName

      String getHardpointGunSpriteName()
    • setHardpointGunSpriteName

      void setHardpointGunSpriteName(String hardpointGunSpriteName)
    • getTurretGunSpriteName

      String getTurretGunSpriteName()
    • setTurretGunSpriteName

      void setTurretGunSpriteName(String turretGunSpriteName)
    • getHardpointGlowSpriteName

      String getHardpointGlowSpriteName()
    • setTurretGlowSpriteName

      void setTurretGlowSpriteName(String turretGlowSpriteName)
    • getTurretGlowSpriteName

      String getTurretGlowSpriteName()
    • setHardpointGlowSpriteName

      void setHardpointGlowSpriteName(String hardpointGlowSpriteName)
    • getVisualRecoil

      float getVisualRecoil()
    • setVisualRecoil

      void setVisualRecoil(float visualRecoil)
    • getAccuracyDisplayName

      String getAccuracyDisplayName()
    • getMuzzleFlashSpec

      MuzzleFlashSpec getMuzzleFlashSpec()