|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface BasicVehicle.Movement
The movement of a vehicle.
Method Summary | |
---|---|
double |
getHeading()
Get the heading of the vehicle |
Point2D |
getPosition()
Get the position of the vehicle. |
double |
getVelocity()
Get the velocity of the vehicle |
void |
move(double currentTime,
double timeStep)
Move the vehicle for a given period of time. |
Method Detail |
---|
Point2D getPosition()
double getHeading()
double getVelocity()
void move(double currentTime, double timeStep)
currentTime
- the current timetimeStep
- the period of time for which the vehicle moves.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |