fix match zone and point alignments

This commit is contained in:
2022-08-14 22:07:15 +00:00
parent dfebe243cc
commit 9a8957aa2c
2 changed files with 12 additions and 3 deletions

View File

@@ -12,10 +12,12 @@ class Vec2{
public function add(dx:Float, dy:Float) {
x += dx;
y += dy;
return this;
}
public function subtract(dx:Float, dy:Float) {
x -= dx;
y -= dy;
return this;
}
public function toString() {
return '(${x}, ${y})';