public FigureMoving(FigureOnSquare fs, Square to, Figure promotion = Figure.none) { this.figure = fs.figure; this.from = fs.square; this.to = to; this.promotion = promotion; }
public FigureMoving(FigureOnSquare fs, Square to, Figure prom = Figure.none) { Figure = fs.Figure; From = fs.Square; To = to; Promotion = prom; }
public FigureMoving(FigureOnSquare figureOnSquare, Square to, Figure promotion = Figure.none) { _figure = figureOnSquare.FigurE; _from = figureOnSquare.SquarE; _to = to; _promotion = promotion; }