@Override
    public void onUpdate(World apples) {
       if (!apples.inBounds((int)X, (int)Y)||apples.checkCollision((int)X, (int)Y))
       {
           if (apples.inBounds(X, Y))
           {
                apples.ground.destroyExpansion(X, Y,World.STONE, World.LAVA);//apples.ground.cellData[(int)X][(int)Y]
           }
           alive = false;
           //apples.explode(X, Y, 32, 8, 16);
       }
       //apples.ground.FillCircleW((int)X, (int)Y, (int)Math.sqrt(xspeed*xspeed+yspeed*yspeed), World.LAVA);
       if (next++>4)
       {
            next = 0;
            yspeed+=gravity;
       }
       /*if (yspeed<12)
       {
           yspeed++;
       }*/
    }