public void destroyWorld()
    {
        if (Ground != null)
        {
            for (int i = 0; i < Ground.length; i++)
            {
                removeObject(Ground[i]);
            }
        }
        if (Bricks != null)
        {
            for (int i = 0; i < Bricks.length; i++)
            {
                removeObject(Bricks[i]);
            }
        }
        if (MovingBricksRight != null)
        {
            for (int i = 0; i < MovingBricksRight.length; i++)
            {
                removeObject(MovingBricksRight[i]);
            }
        }
        if (MovingBricksLeft != null)
        {
            for (int i = 0; i < MovingBricksLeft.length; i++)
            {
                removeObject(MovingBricksLeft[i]);
            }
        }
        if (MovingBricksUp != null)
        {
            for (int i = 0; i < MovingBricksUp.length; i++)
            {
                removeObject(MovingBricksUp[i]);
            }
        }
        if (Coins != null)
        {
            for (int i = 0; i < Coins.length; i++)
            {
                removeObject(Coins[i]);
            }
        }
        removeObject(player);
        movingWater.setLevel(20);
    }