diff --git a/ProjectLighthouse/Types/Location.cs b/ProjectLighthouse/Types/Location.cs index 78a7f6cf..fec7c8ce 100644 --- a/ProjectLighthouse/Types/Location.cs +++ b/ProjectLighthouse/Types/Location.cs @@ -2,12 +2,17 @@ using ProjectLighthouse.Serialization; namespace ProjectLighthouse.Types { public class Location { + public Location(int x, int y) { + this.X = x; + this.Y = y; + } + public int X; public int Y; public string Serialize() { return LbpSerializer.StringElement("x", this.X) + - LbpSerializer.StringElement("Y", this.Y); + LbpSerializer.StringElement("x", this.Y); } } } \ No newline at end of file