public interface InputDeviceDirectional extends InputDevice
Modifier and Type | Method and Description |
---|---|
double |
getHorizontalDirection()
Get the horizontal direction.
|
double |
getVerticalDirection()
Get the horizontal direction.
|
void |
setHorizontalControlNegative(Integer code)
Set the horizontal negative control code.
|
void |
setHorizontalControlPositive(Integer code)
Set the horizontal positive control code.
|
void |
setVerticalControlNegative(Integer code)
Set the vertical negative control code.
|
void |
setVerticalControlPositive(Integer code)
Set the vertical positive control code.
|
void setHorizontalControlPositive(Integer code)
code
- The horizontal positive control code.void setHorizontalControlNegative(Integer code)
code
- The horizontal negative control code.void setVerticalControlPositive(Integer code)
code
- The vertical positive control code.void setVerticalControlNegative(Integer code)
code
- The vertical negative control code.double getHorizontalDirection()
negative
if left, positive
if right, 0 if none.double getVerticalDirection()
positive
if up, negative
if down, 0 if none.Copyright © 2016 Byron 3D Games Studio. All rights reserved.