dropAroundKing8.cc
Go to the documentation of this file.
00001 #if 0
00002 
00003 #include "osl/move_generator/dropAoundKing8.cc"
00004 #include "osl/move_generator/pieceOnBoard.h"
00005 #include "osl/move_generator/pieceOnBoard.tcc"
00006 #include "osl/move_generator/drop.h"
00007 #include "osl/move_generator/drop.tcc"
00008 #include "osl/move_action/toAroundKing8Filter.h"
00009 
00010 namespace osl
00011 {
00012   namespace move_generator
00013   {
00014     template <Player P>
00015     struct DropAroundKing8
00016     {
00017       template <class Action>
00018       static void generate(const SimpleState& state, Action& action)
00019       {
00020         //
00021         Drop<SimpleState, Action>::template generateMoves <P>(state, action);
00022         move_action::ToAroundKing8Filter<P, SimpleState, Action> action_filtered(state, action);
00023         PieceOnBoardType<P, KING>::template
00024           generate(state, state.kingPiece<P>(), action_filtered);
00025       }
00026     };
00027   }
00028 } // namespace osl
00029 
00030 #endif /* _GENERATE_DROP_AROUND_KING8_H */
00031 // ;;; Local Variables:
00032 // ;;; mode:c++
00033 // ;;; c-basic-offset:2
00034 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines