attackToPinned.cc Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
attackToPinned.cc
Go to the documentation of this file.
1 #include "osl/move_generator/attackToPinned.h"
2 #include "osl/move_generator/attackToPinned.tcc"
3
4 template void osl::move_generator::AttackToPinned<osl::BLACK>::generate<osl::move_action::Store>(const NumEffectState&, move_action::Store&);
5 template void osl::move_generator::AttackToPinned<osl::WHITE>::generate<osl::move_action::Store>(const NumEffectState&, move_action::Store&);
6
7 void
8 osl::move_generator::GenerateAttackToPinned::
9 generate(Player player, const NumEffectState& state,
10 move_action::Store& store){
11 assert(state.turn()==player);
12 if(player==BLACK)
13 AttackToPinned<BLACK>::generate(state,store);
14 else
15 AttackToPinned<WHITE>::generate(state,store);
16 }