Interface Vehicle

    • Method Detail

      • getVelocity

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

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