export default class Point { constructor(newX, newY) { this.x = newX; this.y = newY; } getX() { return this.x; } getY() { return this.y; } setX(newX) { this.x = newX; } setY(newY) { this.y = newY; } getPoint() { return {x: this.x, y: this.y}; } };