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