private void GoUp(Point cp, bool SupportPosition)
 {
     if (HelperFunction.DecY(ref cp))
     {
         if (SupportPosition)
         {
             ProcessBlockInclusive(cp.X, cp.Y);
         }
         else
         {
             ProcessBlock(cp.X, cp.Y);
         }
     }
 }
Example #2
0
        private void GoUp(Point cp, Byte steps)
        {
            byte aStep = 0;

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

                aStep++;
            }
        }