addEffect8.cc Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
addEffect8.cc
Go to the documentation of this file.
1 #include "osl/move_generator/addEffect8.h"
2 #include "osl/move_generator/addEffect8.tcc"
3
4
5 template void osl::move_generator::AddEffect8<osl::BLACK>::generate<osl::move_action::Store>(const NumEffectState&,move_action::Store&);
6 template void osl::move_generator::AddEffect8<osl::WHITE>::generate<osl::move_action::Store>(const NumEffectState&,move_action::Store&);
7 template void osl::move_generator::AddEffect8<osl::BLACK>::generateBigDrop(const NumEffectState&,move_action::Store&);
8 template void osl::move_generator::AddEffect8<osl::WHITE>::generateBigDrop(const NumEffectState&,move_action::Store&);
9 template void osl::move_generator::AddEffect8<osl::BLACK>::generateNotBigDrop(const NumEffectState&,move_action::Store&);
10 template void osl::move_generator::AddEffect8<osl::WHITE>::generateNotBigDrop(const NumEffectState&,move_action::Store&);
11
12 void
13 osl::move_generator::GenerateAddEffect8::
14 generate(Player player, const NumEffectState& state,
15 move_action::Store& store){
16 assert(state.turn()==player);
17 if(player==BLACK)
18 AddEffect8<BLACK>::generate(state,store);
19 else
20 AddEffect8<WHITE>::generate(state,store);
21 }
22
23 void
24 osl::move_generator::GenerateAddEffect8::
25 generateBigDrop(Player player, const NumEffectState& state,
26 move_action::Store& store){
27 assert(state.turn()==player);
28 if(player==BLACK)
29 AddEffect8<BLACK>::generateBigDrop(state,store);
30 else
31 AddEffect8<WHITE>::generateBigDrop(state,store);
32 }
33
34 void
35 osl::move_generator::GenerateAddEffect8::
36 generateNotBigDrop(Player player, const NumEffectState& state,
37 move_action::Store& store){
38 assert(state.turn()==player);
39 if(player==BLACK)
40 AddEffect8<BLACK>::generateNotBigDrop(state,store);
41 else
42 AddEffect8<WHITE>::generateNotBigDrop(state,store);
43 }
44