23 this->my_pin = my_pin;
24 this->op_pin = op_pin;
25 this->progress = progress;
27 counteffect2_cache.fill(-1);
28 pattern_cache.fill(-1);
const PieceMask pin(Player king) const
Square kingSquare() const
static int count(const NumEffectState &state)
void make(const NumEffectState &new_state)
void update(const NumEffectState &new_state, Move last_move)
ProgressN< 16 > Progress16
constexpr Player alt(Player player)
static SendOff8 find(const NumEffectState &state, Square king_position, Square8 &out)
玉の周囲5x3の領域の利きの数と持駒から計算した進行度.
static const Progress16 progress16(int progress)
0-15 の値を返す