Interface EngineEntity


  • public interface EngineEntity
    Engines (thrusters, ...) implement this interface. This is required for example that AI can control engines
    • Method Detail

      • commandAuto

        void commandAuto​(CoordD2 vMove,
                         double autoSpeed,
                         boolean autoRotate)
      • commandManual

        void commandManual​(CoordD2 vThrust,
                           double throttle)
      • commandAutoHalt

        void commandAutoHalt​(boolean enable,
                             boolean autoRotate)
      • commandAbort

        void commandAbort()
      • commandEnableEntity

        void commandEnableEntity​(boolean enable)
      • commandRotate

        void commandRotate​(boolean clockwise)
      • canFireEngine

        boolean canFireEngine()
      • getLastOutput

        double getLastOutput()
      • getvSelected

        CoordD2 getvSelected()
      • getAutoModeVelocity

        double getAutoModeVelocity()
      • getThrottle

        double getThrottle()
      • getTotalOutput

        double getTotalOutput()
      • getTotalOutputDef

        double getTotalOutputDef()
      • getTotalOutputRequested

        double getTotalOutputRequested()
      • getTotalEnergyTaken

        double getTotalEnergyTaken()
      • isEngineShipHalt

        boolean isEngineShipHalt()
      • isAutoModeToggle

        boolean isAutoModeToggle()
      • isAutoRotateToggle

        boolean isAutoRotateToggle()
      • getRotationPending

        Edge2 getRotationPending()
      • isEngineManualFire

        boolean isEngineManualFire()