元々,手番の玉に王手がかかっていない状態で自殺手でないことをチェック. More...
#include <safeMove.h>
Static Public Member Functions | |
static bool | isMember (const NumEffectState &state, Ptype ptype, Square from, Square to) |
元々,手番の玉に王手がかかっていない状態で自殺手でないことをチェック.
DropMoveの時には呼べない
Definition at line 17 of file safeMove.h.
static bool osl::move_classifier::SafeMove< P >::isMember | ( | const NumEffectState & | state, |
Ptype | ptype, | ||
Square | from, | ||
Square | to | ||
) | [inline, static] |
元々王手がかかっていないと仮定しているので,自分を 取り除いた上でhasEffectByを呼ばなくても良い
Definition at line 19 of file safeMove.h.
References osl::Square::isPieceStand(), and osl::KING.