|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aim4.vehicle.AccelProfile.DurAccel
public static class AccelProfile.DurAccel
A pair of acceleration and duration.
Constructor Summary | |
---|---|
AccelProfile.DurAccel(double duration,
double acceleration)
Create a pair of acceleration and duration |
Method Summary | |
---|---|
double |
getAcceleration()
Get the acceleration. |
double |
getDuration()
Get the duration. |
void |
setAcceleration(double acceleration)
Set the acceleration. |
void |
setDuration(double duration)
Set the duration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccelProfile.DurAccel(double duration, double acceleration)
duration
- the durationacceleration
- the accelerationMethod Detail |
---|
public double getDuration()
public double getAcceleration()
public void setDuration(double duration)
duration
- the durationpublic void setAcceleration(double acceleration)
acceleration
- the acceleration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |