public void generateCave(int x,int y){
        int sizex = rand.nextInt(19)+1;
        int sizey = rand.nextInt(19)+1;
        for(int i=x;i<sizex+x;i++){
            for(int j=y;j<sizey+y;j++){
                if(i>=SIZE || j>=SIZE) continue;
                if(rand.nextInt(30)>5){
                    world[i][j] = TileType.AIR;
                }else{
                    world[i][j] = TileType.STONE;
                }
            }
        }
    }