My Project
|
#include <countEffect2.h>
Public Member Functions | |
CountEffect2 (int a, int d) | |
bool | match (const NumEffectState &state, Square position, const RatingEnv &env) const |
Static Public Member Functions | |
static std::pair< int, int > | count (const NumEffectState &state, Square position, const RatingEnv &env) |
static std::string | name (int attack, int defense) |
static int | index (const NumEffectState &state, Square position, const RatingEnv &env) |
Public Attributes | |
int | attack |
int | defense |
Static Public Attributes | |
static const int | Max = 2 |
Definition at line 14 of file countEffect2.h.
Definition at line 18 of file countEffect2.h.
|
inlinestatic |
Definition at line 21 of file countEffect2.h.
References osl::alt(), attack, count(), osl::NumEffectState::countEffect(), defense, osl::effect_util::AdditionalEffect::hasEffect(), Max, and osl::SimpleState::turn().
Referenced by count(), index(), osl::rating::LongTarget::isPromotable(), osl::rating::FromEffect::match(), osl::rating::AttackKing8::match(), osl::rating::Pattern::match(), osl::rating::LongTarget::match(), match(), osl::rating::LongTarget::matchOtherThanPromotable(), osl::rating::Pattern::name(), name(), and osl::rating::Pattern::nextSquare().
|
inlinestatic |
Definition at line 43 of file countEffect2.h.
Referenced by osl::rating::AttackKing8Group::findMatch(), osl::rating::PatternGroup::findMatch(), osl::rating::PatternLongGroup::findMatch(), osl::rating::PatternBlockGroup::findMatch(), and osl::rating::FromEffectGroup::findMatch().
|
inline |
Definition at line 37 of file countEffect2.h.
References attack, count(), and defense.
Referenced by osl::rating::FromEffect::match(), osl::rating::AttackKing8::match(), osl::rating::Pattern::match(), osl::rating::LongTarget::match(), and osl::rating::LongTarget::matchOtherThanPromotable().
Definition at line 9 of file countEffect2.cc.
References attack, count(), and defense.
Referenced by osl::rating::LongTarget::name().
int osl::rating::CountEffect2::attack |
Definition at line 17 of file countEffect2.h.
int osl::rating::CountEffect2::defense |
Definition at line 17 of file countEffect2.h.
Definition at line 16 of file countEffect2.h.