osl::move_generator::AddEffect8Defense< P > 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::AddEffect8Defense< P > Struct Template Reference

玉の 8近傍に利きをつける手を生成 More...

`#include <addEffect8Defense.h>`

## Static Public Member Functions
static void | generateTo (const NumEffectState &state, Square p, move_action::Store &action)
static void | generate (const NumEffectState &state, MoveVector &moves)

## Detailed Description

### template<Player P>
struct osl::move_generator::AddEffect8Defense< P >

玉の 8近傍に利きをつける手を生成

- 玉自身が動く手も生成
- 自殺手は生成しない

Definition at line 19 of file addEffect8Defense.h.

## Member Function Documentation

template<Player P>

static void osl::move_generator::AddEffect8Defense< P >::generate | ( | const NumEffectState & | state,
|  | MoveVector & | moves
| ) |  |
| inlinestatic

Definition at line 29 of file addEffect8Defense.h.

References osl::Centering3x3::adjustCenter(), osl::Board_Table, center, osl::D, osl::DL, osl::DR, osl::move_generator::AddEffect8Defense< P >::generateTo(), osl::BoardTable::getOffsetForBlack(), osl::L, osl::R, osl::U, osl::UL, and osl::UR.

template<Player P>

static void osl::move_generator::AddEffect8Defense< P >::generateTo | ( | const NumEffectState & | state,
|  | Square | p,
|  | move_action::Store & | action
| ) |  |
| inlinestatic

Definition at line 21 of file addEffect8Defense.h.

References osl::Square::isOnBoard().

Referenced by osl::move_generator::AddEffect8Defense< P >::generate().

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

- addEffect8Defense.h