public class MovementInput
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
backKeyDown |
boolean |
forwardKeyDown |
boolean |
jump |
boolean |
leftKeyDown |
float |
moveForward |
float |
moveStrafe |
boolean |
rightKeyDown |
boolean |
sneak |
Constructor and Description |
---|
MovementInput() |
Modifier and Type | Method and Description |
---|---|
Vec2f |
getMoveVector() |
void |
updatePlayerMoveState() |
public float moveStrafe
public float moveForward
public boolean forwardKeyDown
public boolean backKeyDown
public boolean leftKeyDown
public boolean rightKeyDown
public boolean jump
public boolean sneak
public void updatePlayerMoveState()
public Vec2f getMoveVector()