|
template<Player P, Ptype T, class Action > |
void | osl::move_generator::addeffect8::generateShortDrop (NumEffectState const &state, Square target, Action &action) |
| 5x5領域への駒のdropによる手生成. More...
|
|
template<Player P, Ptype T, class Action > |
void | osl::move_generator::addeffect8::generateLongDropWithOffset (NumEffectState const &state, Square to, Square from, Offset offset, int countMax, Action &action) |
| 方向を決めて,long dropを作成する. More...
|
|
template<Player P, Ptype T, class Action > |
void | osl::move_generator::addeffect8::generateLongDrop (NumEffectState const &state, Square target, Action &action) |
| 長い利きを持つ駒のdropによる手生成. More...
|
|
template<Player P, Ptype T, class Action > |
void | osl::move_generator::addeffect8::generateShortMove (NumEffectState const &state, Piece attacker, Square target, Action &action) |
| unblockableな動きでunblockableな利きをつける手生成. More...
|
|
template<Player P> |
bool | osl::move_generator::addeffect8::findBlocker (NumEffectState const &state, Piece attacker, Square target, Square from, Square &pos, Piece &blocker, Offset offset) |
| fromにプレイヤーPの駒がある. toは玉の8近傍でPがfromから長い利きを持ちうるマスだとする. 味方の駒で8近傍への利きをblockしている駒(味方か敵かを問わず)があるかどうかをチェックし, あるならblockerに入れてtrueを返す More...
|
|
template<Player P, Ptype T> |
bool | osl::move_generator::addeffect8::canAddLongEffect (NumEffectState const &state, Square from, Square to, Piece &blocker, Offset offset) |
| fromにプレイヤーPの種類Tの駒があったら利きがある盤面かどうか. More...
|
|
template<Player P, Ptype T> |
bool | osl::move_generator::addeffect8::canAddLongEffect (NumEffectState const &state, Square from, Square to, Piece &blocker) |
| fromにプレイヤーPの種類Tの駒があったら利きがある盤面かどうか. More...
|
|
template<Player P, Ptype T, class Action > |
void | osl::move_generator::addeffect8::generateLongMove (NumEffectState const &state, Piece attacker, Square target, Action &action) |
| 長い利きも持つ駒の手生成. More...
|
|
template<Player P, Ptype T, class Action > |
void | osl::move_generator::addeffect8::generateShort (const NumEffectState &state, Square target, Action &action) |
|
template<Player P, Ptype T, class Action > |
void | osl::move_generator::addeffect8::generateLong (const NumEffectState &state, Square target, Action &action) |
|
template<Player P, class Action > |
void | osl::move_generator::addeffect8::generateGold (const NumEffectState &state, Square target, Action &action) |
|