示例#1
0
        public bool isMovePossible(Move move)
        {
            IFigure figure = grid[move.FromPosition.X][move.FromPosition.Y].Figure;

            if (figure != null && figure.ContainsPossibleMove(move))
            {
                return(true);
            }

            return(false);
        }