public interface DeadZone
Modifier and Type | Method and Description |
---|---|
DeadZone |
copy()
Creates a copy of this
DeadZone |
float |
getDeadZone()
Returns the dead zone threshold
|
float |
getX()
Returns the x axis value with the dead zone applied
|
float |
getY()
Returns the y axis value with the dead zone applied
|
void |
setDeadZone(float deadZone)
Sets the dead zone threshold
|
void |
updateX(float x)
Updates the x axis value
|
void |
updateY(float y)
Updates the y axis value
|
void updateX(float x)
x
- The x axis valuevoid updateY(float y)
y
- The y axis valuefloat getX()
float getY()
float getDeadZone()
void setDeadZone(float deadZone)
deadZone
- The threshold