private void generateChests() {
        int chestWidth = 34;
        int chestHeight = 23;
        int[] chestLevels = {2, 2, 3, 3, 4, 5};

        for (int level = 0; level < chestLevels.length; level++) {
            for (int count = 0; count < chestLevels[level]; count++) {
                boolean chestPlaced = false;
                do {
                    Point p = this.getNewXY(gameController.getMapWidth(), chestHeight, level);
                    int y = findNextFloor(p.x + chestWidth, p.y, chestHeight);
                    if (p.y == y) {
                        //make sure the chest isn't spawned in view
                        Placeable chest = loadChest(p.x, p.y - 16);
                        chestPlaced = true;
                    }
                } while (!chestPlaced);
            }
        }
    }