示例#1
0
        private void ClearFigure(Figure figure)
        {
            Position Position = figure.GettPosition();

            Figures[Position.Row, Position.Column] = null;
            TakenFigures.Add(figure);
        }
示例#2
0
        public void MoveFigure(Figure figure) // For intialising the board
        {
            Position Position = figure.GettPosition();

            Figures[Position.Row, Position.Column] = figure;
            ;
        }
示例#3
0
        public Figure GetFigurePosition(Figure figure)
        {
            Position Position = figure.GettPosition();

            return(Figures[Position.Row, Position.Column]);
        }