指手を MoveVector に保管 More...
#include <move_action.h>
Public Member Functions | |
template<size_t Capacity> | |
Store (FixedCapacityVector< Move, Capacity > &v) | |
void | simpleMove (Square, Square, Ptype, bool, Player, Move move) |
コマをとらないMove More... | |
void | unknownMove (Square, Square, Piece, Ptype, bool, Player, Move move) |
コマを取るかもしれないMove More... | |
void | dropMove (Square, Ptype, Player, Move move) |
コマを打つMove More... | |
void | simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p) |
void | unknownMove (Square from, Square to, Piece captured, Ptype ptype, bool isPromote, Player p) |
void | dropMove (Square to, Ptype ptype, Player p) |
Public Attributes | |
FixedCapacityVectorPushBack< Move > | moves |
指手を MoveVector に保管
Definition at line 15 of file move_action.h.
|
inlineexplicit |
Definition at line 19 of file move_action.h.
コマを打つMove
Definition at line 43 of file move_action.h.
References osl::Move::isValid(), and osl::detail::FixedCapacityVectorPushBack< T >::push_back().
Referenced by dropMove(), osl::move_action::NoEffectFilter< P, OrigAction >::dropMove(), osl::move_action::NoAddEffectFilter< OrigAction >::dropMove(), and osl::move_action::NotKingOpenFilter< P, OrigAction >::dropMove().
Definition at line 61 of file move_action.h.
References dropMove().
|
inline |
コマをとらないMove
Definition at line 24 of file move_action.h.
References osl::Move::isValid(), and osl::detail::FixedCapacityVectorPushBack< T >::push_back().
Referenced by simpleMove(), osl::move_action::NoEffectFilter< P, OrigAction >::simpleMove(), osl::move_action::NoAddEffectFilter< OrigAction >::simpleMove(), and osl::move_action::NotKingOpenFilter< P, OrigAction >::simpleMove().
|
inline |
Definition at line 49 of file move_action.h.
References osl::PTYPE_EMPTY, and simpleMove().
|
inline |
コマを取るかもしれないMove
from | - 駒の移動元 |
to | - 駒の移動先 |
p1 | - 移動先のマスの駒 |
ptype | - 移動後の駒のptype |
isPromote | - 成りか? |
p | - プレイヤー |
Definition at line 37 of file move_action.h.
References osl::Move::isValid(), and osl::detail::FixedCapacityVectorPushBack< T >::push_back().
Referenced by unknownMove(), osl::move_action::NoEffectFilter< P, OrigAction >::unknownMove(), osl::move_action::NoAddEffectFilter< OrigAction >::unknownMove(), and osl::move_action::NotKingOpenFilter< P, OrigAction >::unknownMove().
|
inline |
Definition at line 55 of file move_action.h.
References osl::Piece::ptype(), and unknownMove().
FixedCapacityVectorPushBack<Move> osl::move_action::Store::moves |
Definition at line 17 of file move_action.h.