Example #1
0
 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;
 }
Example #3
0
 public FigureMoving(FigureOnSquare figureOnSquare, Square to,
                     Figure promotion = Figure.none)
 {
     _figure    = figureOnSquare.FigurE;
     _from      = figureOnSquare.SquarE;
     _to        = to;
     _promotion = promotion;
 }