Interface ShipEngineControllerAPI


public interface ShipEngineControllerAPI
  • Method Details

    • isAccelerating

      boolean isAccelerating()
    • isAcceleratingBackwards

      boolean isAcceleratingBackwards()
    • isDecelerating

      boolean isDecelerating()
    • isTurningLeft

      boolean isTurningLeft()
    • isTurningRight

      boolean isTurningRight()
    • isStrafingLeft

      boolean isStrafingLeft()
    • isStrafingRight

      boolean isStrafingRight()
    • isIdle

      boolean isIdle()
    • getShipEngines

    • fadeToOtherColor

      void fadeToOtherColor(Object key, Color other, Color contrailColor, float effectLevel, float maxBlend)
    • extendFlame

      void extendFlame(Object key, float extendLengthFraction, float extendWidthFraction, float extendGlowFraction)
    • forceFlameout

      void forceFlameout()
    • forceFlameout

      void forceFlameout(boolean suppressFloaty)
    • getMaxSpeedWithoutBoost

      float getMaxSpeedWithoutBoost()
    • computeDisabledFraction

      float computeDisabledFraction()
    • getFlameoutFraction

      float getFlameoutFraction()
    • computeEffectiveStats

      void computeEffectiveStats(boolean forceShowFloaty)
    • isFlamedOut

      boolean isFlamedOut()
    • isDisabled

      boolean isDisabled()
    • isFlamingOut

      boolean isFlamingOut()
    • setFlameLevel

      void setFlameLevel(EngineSlotAPI slot, float level)
      How extended the engine flame is. 1.0 = maximum, 0 = not at all, 0.4 = default idle level.
      Parameters:
      slot -
      level -
    • getExtendLengthFraction

      ValueShifterAPI getExtendLengthFraction()
    • getExtendWidthFraction

      ValueShifterAPI getExtendWidthFraction()
    • getExtendGlowFraction

      ValueShifterAPI getExtendGlowFraction()
    • forceShowAccelerating

      void forceShowAccelerating()
    • getFlameColorShifter

      ColorShifterAPI getFlameColorShifter()
    • getTurnDeceleration

      float getTurnDeceleration()