ChessBoardVisualLib.ViewModel.ChessBoardViewModel.RemoveFigure C# (CSharp) Method

RemoveFigure() public method

public RemoveFigure ( Square square ) : void
square Square
return void
        public void RemoveFigure(Square square)
        {
            this.dispatcher.BeginInvoke(new Action(() =>
                {
                    var item = this.squareItems[square.GetRealIndex()];
                    item.UpdateChessFigure(Figure.Nobody, this.CurrentPlayerColor);
                }), DispatcherPriority.Render);
        }