public void generater(int x, int w, byte type)
           {
             /*  for (int i = 0; i <= 30; i++)
               {
                    ClearCircle(x+random.nextInt(w),y+random.nextInt(h),random.nextInt(w/2));
               }
               generateSandAndWater();*/
               float vs = -random.nextInt(12),grav = random.nextFloat(), time = 12; 
               for (int e = x; e < x+w; e++)
               {
                   if (random.nextInt(1200)==5)
                   {
                       entityList.add(new HouseEntity(5+e,maGenH,12+random.nextInt(24),12+random.nextInt(24)));
                   }
                   maGenH=(maGenH>700)?700:(maGenH<10)?10:maGenH;
                   for (int i = maGenH; i < h; i++)cellData[e][i] = type;
                   maGenH+=vs;
                   vs+=grav;
                   if (e % time == 0)
                   {
                       time = random.nextInt(30)+1;
                       grav = random.nextFloat();
                       vs = -random.nextInt(8);
                   }
               }
           }