All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kingWalk.h
Go to the documentation of this file.
1 #ifndef _GENERATE_KING_WALK_H
2 #define _GENERATE_KING_WALK_H
4 //#include "osl/state/simpleState.h"
5 namespace osl
6 {
7  namespace move_generator
8  {
9  template <Player P>
10  struct KingWalk
11  {
12  template <class Action>
13  static void generate(const NumEffectState& state, Action& action)
14  {
15  PieceOnBoard<Action>::template generatePtype<P,KING>(state,state.kingPiece<P>(),action);
16  }
17 
18  };
19  }
20 } // namespace osl
21 
22 #endif /* _GENERATE_KING_WALK_H */
23 // ;;; Local Variables:
24 // ;;; mode:c++
25 // ;;; c-basic-offset:2
26 // ;;; End: