@Override public void complete(int x, int y) { Point endPosition = new Point(x, y); thisShape.setEnd(endPosition); }