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

PromotePawn() public method

public PromotePawn ( System.Color color, Square square, Figure newFigure ) : void
color System.Color
square Square
newFigure Figure
return void
        public void PromotePawn(Color color, Square square, Figure newFigure)
        {
            this.GameProvider.PromotePawn(color, square, newFigure);
            this.UpdateFigure(square, newFigure, color);
        }