Interface Vehicle

    • Method Detail

      • getVelocity

        @NotNull
        Vector getVelocity()
        Gets the vehicle's velocity.
        Specified by:
        getVelocity in interface Entity
        Returns:
        velocity vector
      • setVelocity

        void setVelocity​(@NotNull
                         Vector vel)
        Sets the vehicle's velocity.
        Specified by:
        setVelocity in interface Entity
        Parameters:
        vel - velocity vector