push method

void push(
  1. Move move,
  2. Line line
)

Implementation

void push(Move move, Line line) {
  line.history.add(State(move, ColorMap.clone(kings), turn,
      ColorMap.clone(castling), ep_square, half_moves, move_number));
}