dropAroundKing8.cc Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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