public Coordinate getEndPoint2() {

        Coordinate coord2 = new Coordinate(0,0);
        if ((rotation % 2) == 1 ) {
            coord2 = new Coordinate(x+100, y);
        }if ((rotation % 2) == 0 ) {
            coord2 = new Coordinate(x, y+100);
        }
        return coord2;
    }