mirror of https://github.com/Minestom/Minestom.git
33 lines
675 B
Java
33 lines
675 B
Java
package net.minestom.server.entity.vehicle;
|
|
|
|
public class PlayerVehicleInformation {
|
|
|
|
private float sideways;
|
|
private float forward;
|
|
private boolean jump;
|
|
private boolean unmount;
|
|
|
|
public float getSideways() {
|
|
return sideways;
|
|
}
|
|
|
|
public float getForward() {
|
|
return forward;
|
|
}
|
|
|
|
public boolean shouldJump() {
|
|
return jump;
|
|
}
|
|
|
|
public boolean shouldUnmount() {
|
|
return unmount;
|
|
}
|
|
|
|
public void refresh(float sideways, float forward, boolean jump, boolean unmount) {
|
|
this.sideways = sideways;
|
|
this.forward = forward;
|
|
this.jump = jump;
|
|
this.unmount = unmount;
|
|
}
|
|
}
|