public void randomItems(Random rand) {
        for(int y = 0; y < height; y++) {
            for (int x = 0; x < width; x++) {
                if(tiles[y][x] != 0) {
                    int r = rand.nextInt(20);
                    switch(r) {
                        case 0:
                            items[y][x] = Item.SWORD;
                            break;
                        case 1:
                            items[y][x] = Item.WAND;
                            break;
                    }
                }
            }
        }
    }