示例#1
0
 public override void InitMovement()
 {
     Movement = new Default();
     Movement = new VerticalMovement(Movement, 8, EVerticalMode.Any);
     Movement = new HorizontalMovement(Movement, 8);
     Movement = new DiagonalMovement(Movement, 8, EDiagonalMode.Any);
 }
示例#2
0
 public override void InitMovement()
 {
     Movement = new Default();
     Movement = new VerticalMovement(Movement, 1, EVerticalMode.Any);
     Movement = new HorizontalMovement(Movement, 1);
     Movement = new DiagonalMovement(Movement, 1, EDiagonalMode.Any);
     Movement = new KingCastlingMovement(Movement);
 }