bool GameState::move_piece(const Step &s) { assert(s.is_motion()); const uint8_t c = s.get_color(), p = s.get_piece(), pos = s.get_position(), finish = s.get_finish(); return move_piece(c, p, pos, finish); }
bool GameState::add_piece_at(const Step &s) { return add_piece_at(s.get_color(), s.get_piece(), s.get_position()); }