Public Member Functions | |
PieceStandPredicate (const std::vector< std::string > &filenames) | |
bool | match (const osl::state::NumEffectState &state) const |
bool | isLoaded () const |
Private Member Functions | |
bool | match (const osl::state::NumEffectState &state, osl::Player player) const |
Definition at line 60 of file find-states.cc.
PieceStandPredicate::PieceStandPredicate | ( | const std::vector< std::string > & | filenames | ) | [inline] |
Definition at line 73 of file find-states.cc.
bool PieceStandPredicate::isLoaded | ( | ) | const [inline, virtual] |
Reimplemented from StatePredicate.
Definition at line 79 of file find-states.cc.
bool PieceStandPredicate::match | ( | const osl::state::NumEffectState & | state, |
osl::Player | player | ||
) | const [inline, private] |
Definition at line 63 of file find-states.cc.
References osl::BISHOP, osl::state::SimpleState::countPiecesOnStand(), osl::GOLD, osl::KNIGHT, osl::LANCE, osl::ROOK, and osl::SILVER.
Referenced by match().
bool PieceStandPredicate::match | ( | const osl::state::NumEffectState & | state | ) | const [inline, virtual] |
Reimplemented from StatePredicate.
Definition at line 75 of file find-states.cc.
References osl::BLACK, match(), and osl::WHITE.