osl::move_generator::GenerateAddEffect< isAttackToKing > Struct Template Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
osl::move_generator::GenerateAddEffect< isAttackToKing > Struct Template Reference

`#include <addEffect_.h>`

## Static Public Member Functions
static void | generate (Player player, const NumEffectState &state, Square target, move_action::Store &store)
| 対象とするマスに利きを付ける手を生成する. More...
static void | generate (Player player, const NumEffectState &state, Square target, MoveVector &out)

## Detailed Description

### template<bool isAttackToKing = false>
struct osl::move_generator::GenerateAddEffect< isAttackToKing >

Definition at line 95 of file addEffect_.h.

## Member Function Documentation

template<bool isAttackToKing>

void osl::move_generator::GenerateAddEffect< isAttackToKing >::generate | ( | Player | player,
|  | const NumEffectState & | state,
|  | Square | target,
|  | move_action::Store & | store
| ) |  |
| static

対象とするマスに利きを付ける手を生成する.

内部でSafeFilter をかける． Note: Action がPlayerで型付けされていると，無駄があるのでStore限定に

Definition at line 497 of file addEffect_.tcc.

References osl::BLACK, and osl::move_generator::capture::generate().

Referenced by osl::move_generator::GenerateAddEffect< isAttackToKing >::generate().

template<bool isAttackToKing = false>

static void osl::move_generator::GenerateAddEffect< isAttackToKing >::generate | ( | Player | player,
|  | const NumEffectState & | state,
|  | Square | target,
|  | MoveVector & | out
| ) |  |
| inlinestatic

Definition at line 104 of file addEffect_.h.

References osl::move_generator::GenerateAddEffect< isAttackToKing >::generate(), and store().

The documentation for this struct was generated from the following files:

- addEffect_.h
- addEffect_.tcc