public void generatel(int x, int w, byte type)
           {
               float vs = -random.nextInt(12),grav = random.nextFloat(), time = 12; 
               for (int e = x; e < x+w; e++)
               {
                   miGenH=(miGenH>450)?450:(miGenH<10)?10:miGenH;
                   for (int i = miGenH; i < h; i++)cellData[e][i] = type;
                   miGenH+=vs;
                   vs+=grav;
                   if (e % time == 0)
                   {
                       time = random.nextInt(30)+1;
                       grav = random.nextFloat();
                       vs = -random.nextInt(8);
                   }
               }
               
           }