影利きを求める More...
#include <shadowEffect.h>
Public Member Functions | |
template<int count_max> | |
int | count (const NumEffectState &state, Square target, Player attack) |
Static Public Member Functions | |
static bool | hasEffect (const NumEffectState &, Square target, Player attack) |
target に attack の影利きが一つでもあるか. 相手の追加利きが先にある場合は対象としない. More... | |
static int | count2 (const NumEffectState &, Square target, Player attack) |
target に attack の影利きを二つまで数える. More... | |
Static Private Member Functions | |
template<int count_max> | |
static int | count (const NumEffectState &, Square target, Player attack) |
影利きを求める
Definition at line 16 of file shadowEffect.h.
int osl::effect_util::ShadowEffect::count | ( | const NumEffectState & | state, |
Square | target, | ||
Player | attack | ||
) |
Definition at line 7 of file shadowEffect.cc.
References osl::alt(), and target.
|
staticprivate |
|
static |
target に attack の影利きを二つまで数える.
相手の追加利きの駒以降は対象としない.
Definition at line 24 of file shadowEffect.cc.
References target.
|
static |
target に attack の影利きが一つでもあるか. 相手の追加利きが先にある場合は対象としない.
Definition at line 17 of file shadowEffect.cc.
References target.