Add defaults to Position

This commit is contained in:
KingRainbow44 2023-05-19 19:52:55 -04:00
parent 858c512f22
commit 51c5cb5c62
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -4,15 +4,19 @@ import com.github.davidmoten.rtreemulti.geometry.Point;
import com.google.gson.annotations.SerializedName;
import dev.morphia.annotations.Entity;
import emu.grasscutter.net.proto.VectorOuterClass.Vector;
import java.io.Serializable;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.List;
@Entity
public class Position implements Serializable {
private static final long serialVersionUID = -2001232313615923575L;
public static final Position ZERO = new Position(0, 0, 0);
public static final Position IDENTITY = new Position(0, 0);
@SerializedName(
value = "x",
alternate = {"_x", "X"})