public static void DoWater(Level lvl, ref Check C)
        {
            Random rand = lvl.physRandom;

            if (lvl.finite)
            {
                lvl.liquids.Remove(C.b);
                FinitePhysics.DoWaterOrLava(lvl, ref C);
                return;
            }
            if (lvl.randomFlow)
            {
                DoWaterRandowFlow(lvl, ref C);
            }
            else
            {
                DoWaterUniformFlow(lvl, ref C);
            }
        }
 public static void DoLava(Level lvl, ref Check C)
 {
     if (C.data.Data < 4)
     {
         C.data.Data++; return;
     }
     if (lvl.finite)
     {
         lvl.liquids.Remove(C.b);
         FinitePhysics.DoWaterOrLava(lvl, ref C);
         return;
     }
     if (lvl.randomFlow)
     {
         DoLavaRandowFlow(lvl, ref C, true);
     }
     else
     {
         DoLavaUniformFlow(lvl, ref C, true);
     }
 }