Pages for logged out editors learn more
public void moveEntityWithHeading(float strafe, float forward) {
... /* also moves the player horizontally */