示例#1
0
 public PieceDefinition(PieceType type, PieceColor color, Point position)
 {
     this.type     = type;
     this.color    = color;
     this.position = position;
 }
示例#2
0
文件: Piece.cs 项目: Fungeey/Chess
 public Piece(PieceType type, PieceColor color, Cell cell)
 {
     this.type  = type;
     this.color = color;
     this.cell  = cell;
 }