コード例 #1
0
 private void GoDown(Point cp, bool SupportPosition)
 {
     if (HelperFunction.IncY(ref cp))
     {
         if (SupportPosition)
         {
             ProcessBlockInclusive(cp.X, cp.Y);
         }
         else
         {
             ProcessBlock(cp.X, cp.Y);
         }
     }
 }
コード例 #2
0
        private void GoDown(Point cp, Byte steps)
        {
            byte aStep = 0;

            while (aStep < steps)
            {
                if (HelperFunction.IncY(ref cp))
                {
                    ProceedIfNoPiece(cp.X, cp.Y);
                }

                aStep++;
            }
        }