Cosmos Journeyer API Documentation - v1.10.1
    Preparing search index...

    Interface of the warp drive of a spaceship that can only be read.

    interface ReadonlyWarpDrive {
        getThrottle(): number;
        getWarpSpeed(): number;
        isDisabled(): boolean;
        isDisengaging(): boolean;
        isEnabled(): boolean;
    }

    Implemented by

    Index

    Methods

    • Returns true if the warp drive is enabled and not disengaging. Returns false otherwise.

      Returns boolean

      True if the warp drive is enabled and not disengaging. Returns false otherwise.