public Square(double cx, double cy) {
        double potentialX, potentialY;
        while (true) {
            potentialX = Math.random()*xBoundary + xOffset;
            potentialY = Math.random()*yBoundary + yOffset;
            if (potentialX > cx + enemySpawnPadding || potentialX < cx - enemySpawnPadding || potentialY > cy + enemySpawnPadding || potentialY < cy - enemySpawnPadding) {
                break;
            }
        }
        this.x = potentialX;
        this.y = potentialY;
        this.shape = new Polygon();
    }