public MovePoint(Position2D start, Position2D end) { this.start = start; this.end = end; }
public MovePoint(float startX, float startY, float endX, float endY) { start = new Position2D(startX, startY); end = new Position2D(endX, endY); }
public void Set(Position2D p) { this.x = p.x; this.y = p.y; }