public static class AccelProfile.DurAccel extends Object
Constructor and Description |
---|
AccelProfile.DurAccel(double duration,
double acceleration)
Create a pair of acceleration and duration
|
Modifier and Type | Method and Description |
---|---|
double |
getAcceleration()
Get the acceleration.
|
double |
getDuration()
Get the duration.
|
void |
setAcceleration(double acceleration)
Set the acceleration.
|
void |
setDuration(double duration)
Set the duration.
|
public AccelProfile.DurAccel(double duration, double acceleration)
duration
- the durationacceleration
- the accelerationpublic double getDuration()
public double getAcceleration()
public void setDuration(double duration)
duration
- the durationpublic void setAcceleration(double acceleration)
acceleration
- the accelerationCopyright © 2013. All rights reserved.