blob: 86ec0a8c8f84ec1134b35f7aa012561d3dc64579 [file] [log] [blame] [raw]
package net.lightstone.msg;
public final class RotationMessage extends Message {
private final float rotation, pitch;
private final boolean onGround;
public RotationMessage(float rotation, float pitch, boolean onGround) {
this.rotation = rotation;
this.pitch = pitch;
this.onGround = onGround;
}
public float getRotation() {
return rotation;
}
public float getPitch() {
return pitch;
}
public boolean isOnGround() {
return onGround;
}
}