Пример #1
0
 public King(DeskColors color, Coordinates position, Board board, Form form, GameSet gameSet)
     : base(color, board, position, gameSet)
 {
     currentcell.cell.Image = color == DeskColors.White ? Properties.Resources.wK : Properties.Resources.bK;
 }
Пример #2
0
 public Pawn(DeskColors color, Coordinates position, Board board, Form form, GameSet gameSet) :
     base(color, board, position, gameSet)
 {
     isFirstStep            = true;
     currentcell.cell.Image = color == DeskColors.White ? Properties.Resources.wP : Properties.Resources.bP;
 }