3 #ifndef OSL_SENDOFFPOSITION_H
4 #define OSL_SENDOFFPOSITION_H
12 struct Offset8 :
public FixedCapacityVector<int,8>
19 template <Player Attack>
22 const Piece p = state.pieceAt(target);
25 return state.hasEffectAt<Attack>(
target)
26 && (state.countEffect(
alt(Attack), target) == 1);
28 template <Player Attack>
32 const NumEffectState& state,
Square king_position,
45 template <Player Attack>
49 if (onlyOneSupport<Attack>(state, candidate))
56 using effect_util::SendOffSquare;