aim4.vehicle
Interface BasicVehicle.MovementWithAccel

All Superinterfaces:
BasicVehicle.Movement
All Known Implementing Classes:
BasicVehicle.MoveToTargetVelocityMovement, BasicVehicle.PhysicalMovement
Enclosing class:
BasicVehicle

public static interface BasicVehicle.MovementWithAccel
extends BasicVehicle.Movement

The movement with acceleration interface


Method Summary
 double getAcceleration()
          Get the acceleration of the vehicle
 void setAccelerationWithBound(double acceleration)
          Set the acceleration with respect to the physical limit of the vehicle.
 
Methods inherited from interface aim4.vehicle.BasicVehicle.Movement
getHeading, getPosition, getVelocity, move
 

Method Detail

getAcceleration

double getAcceleration()
Get the acceleration of the vehicle

Returns:
the acceleration of the vehicle

setAccelerationWithBound

void setAccelerationWithBound(double acceleration)
Set the acceleration with respect to the physical limit of the vehicle.

Parameters:
acceleration - the acceleration


Copyright © 2011. All Rights Reserved.