示例#1
0
 public void Move(string square)
 {
     int[] move_array = new int[2];
     if (PGNReader.decodeMove(this, square, move_array))
     {
         Move(move_array[0], move_array[1]);
     }
 }
示例#2
0
        public bool canMove(string square)
        {
            int[] move_array = new int[2];
            if (PGNReader.decodeMove(this, square, move_array))
            {
                return(canMove(move_array[0], move_array[1]));
            }

            return(false);
        }