MapGenerator #34

Merged
tonitch merged 5 commits from MapGenerator into master 2023-05-01 18:38:53 +02:00
Showing only changes of commit 7e434f9a6d - Show all commits

View File

@ -26,4 +26,13 @@ public class Vec2 implements Serializable {
}
return false;
}
public Vec2 add(Vec2 o){
return new Vec2(x + o.x, y + o.y);
}
@Override
public String toString() {
return "("+x+","+y+")";
}
}