public void calculateBounds() {
        for (int i = 0; i < blockArray.length; i++) {
            for (int j = 0; j < blockArray.length; j++) {
                if (bitArray[i][j] == 2) {
                    Block tempBlock = blockArray[i][j];
                    if (xBound < tempBlock.getX()) {
                        xBound = tempBlock.getX();
                    }
                    if (yBound < tempBlock.getY()) {
                        yBound = tempBlock.getY();
                    }
                }
            }
        }
    }