Public Member Functions | |
SafeCapture (const NumEffectState &s) | |
template<Player P> | |
void | doAction (Piece effect_piece, Square target) |
Public Attributes | |
const NumEffectState & | state |
Piece | safe_one |
Definition at line 101 of file effectUtil.tcc.
osl::effect_util::EffectUtil::SafeCapture::SafeCapture | ( | const NumEffectState & | s | ) | [inline] |
Definition at line 106 of file effectUtil.tcc.
void osl::effect_util::EffectUtil::SafeCapture::doAction | ( | Piece | effect_piece, |
Square | target | ||
) | [inline] |
Definition at line 110 of file effectUtil.tcc.
References osl::Piece::ptype(), osl::Piece::square(), and target.
Definition at line 105 of file effectUtil.tcc.
Referenced by osl::effect_util::EffectUtil::safeCaptureNotByKing().
const NumEffectState& osl::effect_util::EffectUtil::SafeCapture::state |
Definition at line 104 of file effectUtil.tcc.