All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
open.tcc
Go to the documentation of this file.
1 #ifndef _GENERATE_OPEN_MOVES_TCC
2 #define _GENERATE_OPEN_MOVES_TCC
3 
7 
8 template<class Action>
9 template<osl::Player P>
11 generate(const NumEffectState& state,Piece p,Action& action,Square to,Direction dir)
12 {
14  action_t newAction(state,action,to);
15  PieceOnBoard<action_t>::template generate<P,true>(state,p,newAction,1<<primDir(dir));
16 }
17 
18 #endif /* _GENERATE_OPEN_MOVES_TCC */
19 // ;;; Local Variables:
20 // ;;; mode:c++
21 // ;;; c-basic-offset:2
22 // ;;; End: