Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
osl
move_generator
kingWalk.h
Go to the documentation of this file.
1
#ifndef _GENERATE_KING_WALK_H
2
#define _GENERATE_KING_WALK_H
3
#include "
osl/move_generator/pieceOnBoard.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:
Generated on Sun Jul 21 2013 13:37:24 by
1.8.4