Interface ShipSystemAPI


public interface ShipSystemAPI
  • Method Details

    • getId

      String getId()
    • getCooldownRemaining

      float getCooldownRemaining()
    • isOutOfAmmo

      boolean isOutOfAmmo()
    • isActive

      boolean isActive()
      Returns:
      true if the system is charging up, down, or is on.
    • isCoolingDown

      boolean isCoolingDown()
    • getAmmo

      int getAmmo()
    • getFluxPerUse

      float getFluxPerUse()
    • getFluxPerSecond

      float getFluxPerSecond()
    • getDisplayName

      String getDisplayName()
    • isOn

      boolean isOn()
      Returns:
      true if the system is charging up or is on.
    • isChargeup

      boolean isChargeup()
    • isChargedown

      boolean isChargedown()
    • isStateActive

      boolean isStateActive()
    • getMaxAmmo

      int getMaxAmmo()
    • setAmmo

      void setAmmo(int ammo)
    • getEffectLevel

      float getEffectLevel()
    • getCooldown

      float getCooldown()
    • setFluxPerUse

      void setFluxPerUse(float fluxPerUse)
    • setFluxPerSecond

      void setFluxPerSecond(float fluxPerSecond)
    • getState

    • getChargeUpDur

      float getChargeUpDur()
    • getChargeDownDur

      float getChargeDownDur()
    • getChargeActiveDur

      float getChargeActiveDur()
    • getSpecAPI

      ShipSystemSpecAPI getSpecAPI()
    • deactivate

      void deactivate()
    • setCooldownRemaining

      void setCooldownRemaining(float remaining)
    • setCooldown

      void setCooldown(float cooldown)
    • getTargetLoc

      org.lwjgl.util.vector.Vector2f getTargetLoc()
    • forceState

      void forceState(ShipSystemAPI.SystemState state, float progress)
    • getAmmoPerSecond

      float getAmmoPerSecond()
    • getAmmoReloadProgress

      float getAmmoReloadProgress()
    • setAmmoReloadProgress

      void setAmmoReloadProgress(float progress)
    • canBeActivated

      boolean canBeActivated()
    • getScript