#include <pattern.h>
Public Member Functions | |
| LongTarget2 (Ptype t, bool s) | |
| bool | match (const NumEffectState &, Move move, Piece p) const |
| const std::string | name () const |
Public Attributes | |
| Ptype | target |
| bool | same |
| osl::rating::LongTarget2::LongTarget2 | ( | Ptype | t, |
| bool | s | ||
| ) | [inline] |
| bool osl::rating::LongTarget2::match | ( | const NumEffectState & | , |
| Move | move, | ||
| Piece | p | ||
| ) | const [inline] |
Definition at line 110 of file pattern.h.
References osl::Piece::isEmpty(), osl::isPiece(), osl::Piece::owner(), osl::Move::player(), osl::Piece::ptype(), same, and target.
Referenced by osl::rating::PatternLong2::match().
| const std::string osl::rating::LongTarget2::name | ( | ) | const |
Definition at line 24 of file pattern.cc.
References osl::PtypeTable::getCsaName(), osl::Ptype_Table, and target.
1.7.6.1