影利きを求める [詳細]
#include <shadowEffect.h>
Static Public メソッド | |
| static bool | hasEffect (const NumEffectState &, Position target, Player attack) |
| target に attack の影利きが一つでもあるか. 相手の追加利きが先にある場合は対象としない. | |
| static int | count2 (const NumEffectState &, Position target, Player attack) |
| target に attack の影利きを二つまで数える. | |
Static Private メソッド | |
| template<int count_max> | |
| static int | count (const NumEffectState &, Position target, Player attack) |
影利きを求める
shadowEffect.h の 16 行で定義されています。
| int osl::effect_util::ShadowEffect::count | ( | const NumEffectState & | state, | |
| Position | target, | |||
| Player | attack | |||
| ) | [inline, static, private] |
shadowEffect.cc の 7 行で定義されています。
参照先 osl::alt(), と osl::effect_util::EffectUtil::findEffect().
| bool osl::effect_util::ShadowEffect::hasEffect | ( | const NumEffectState & | state, | |
| Position | target, | |||
| Player | attack | |||
| ) | [static] |
target に attack の影利きが一つでもあるか. 相手の追加利きが先にある場合は対象としない.
shadowEffect.cc の 17 行で定義されています。
1.6.3