diff --git a/game/Point.js b/game/Point.js deleted file mode 100644 index 68c8526..0000000 --- a/game/Point.js +++ /dev/null @@ -1,22 +0,0 @@ -export default class Point { - constructor(x,y) { - this.x = x - this.y = y - } - move(x, y) { - this.x += x - this.y += y - } - add(other) { - return new Point( - this.x + other.x, - this.y + other.y - ) - } - sub(other) { - return new Point( - this.x - other.x, - this.y - other.y - ) - } -}