dropAroundKing8.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
dropAroundKing8.h
Go to the documentation of this file.
1 #ifndef _GENERATE_DROP_AROUND_KING8_H
2 #define _GENERATE_DROP_AROUND_KING8_H
3 #include "osl/move_generator/pieceOnBoard.h"
4 #include "osl/move_generator/pieceOnBoard.tcc"
5 #include "osl/move_generator/drop.h"
6 #include "osl/move_generator/drop.tcc"
7 #include "osl/move_action/toAroundKing8Filter.h"
8
9 namespace osl
10 {
11 namespace move_generator
12 {
13 template <Player P>
14 struct DropAroundKing8
15 {
16
17 template <class Action>
18 static void generate(const NumEffectState& state, Action& action)
19 {
20 typedef move_action::ToAroundKing8Filter<P, Action> action_t;
21 //
22 action_t action_filtered(state, action);
23 Drop<action_t>::template generate <P>(state, action_filtered);
24 }
25 };
26 }
27 } // namespace osl
28
29 #endif /* _GENERATE_DROP_AROUND_KING8_H */
30 // ;;; Local Variables:
31 // ;;; mode:c++
32 // ;;; c-basic-offset:2
33 // ;;; End: