Liberty8で使われるHelper. More...
#include <liberty8.h>
Public Member Functions | |
AddMaskAction (Liberty &l, NumEffectState const &s, Square t, NearMask n) | |
void | operator() (Piece p) |
Private Attributes | |
Liberty & | liberty |
NumEffectState const & | state |
const Square | target |
const NearMask | nearMask |
Liberty8で使われるHelper.
Pは defense側
Definition at line 22 of file liberty8.h.
|
inline |
Definition at line 28 of file liberty8.h.
|
inline |
Definition at line 32 of file liberty8.h.
References osl::BISHOP, osl::Board_Table, osl::dirToMask(), osl::BoardTable::getLongDirection(), osl::effect::LongEffect8::getMask(), osl::PtypeTable::getMoveMask(), osl::effect::LongEffect8::getOffset(), osl::BoardTable::getOffset(), osl::Square::isOnBoard(), osl::Piece::isPromotedNotKingGold(), osl::LANCE, osl::effect::AddMaskAction< Liberty, P, T >::liberty, osl::effect::Liberty8_Table, osl::longToShort(), osl::effect::AddMaskAction< Liberty, P, T >::nearMask, osl::Piece::ptype(), osl::Ptype_Table, osl::ROOK, osl::Piece::square(), osl::effect::AddMaskAction< Liberty, P, T >::state, and osl::effect::AddMaskAction< Liberty, P, T >::target.
|
private |
Definition at line 23 of file liberty8.h.
Referenced by osl::effect::AddMaskAction< Liberty, P, T >::operator()().
|
private |
Definition at line 26 of file liberty8.h.
Referenced by osl::effect::AddMaskAction< Liberty, P, T >::operator()().
|
private |
Definition at line 24 of file liberty8.h.
Referenced by osl::effect::AddMaskAction< Liberty, P, T >::operator()().
|
private |
Definition at line 25 of file liberty8.h.
Referenced by osl::effect::AddMaskAction< Liberty, P, T >::operator()().