static King() { int[] dRows = new int[] { -1, -1, -1, 0, 0, 1, 1, 1 }; int[] dCols = new int[] { -1, 0, 1, -1, 1, -1, 0, 1 }; King.MovePattern = new MovePattern(dRows, dCols, false); }
public SimpleMovePiece(Field pos, PieceType type, Color color, MovePattern movePattern, int moveCount = 0) : base(pos, type, color, moveCount) { this.MovePattern = movePattern; }