Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
osl
move_generator
attackToPinned.h
Go to the documentation of this file.
1
#ifndef OSL_MOVE_GENERATOR_ATTACK_TO_PINNED_H
2
#define OSL_MOVE_GENERATOR_ATTACK_TO_PINNED_H
3
#include "
osl/player.h
"
4
#include "
osl/state/numEffectState.h
"
5
#include "
osl/move_action/store.h
"
6
#include "
osl/container/moveVector.h
"
7
8
namespace
osl
9
{
10
namespace
move_generator
11
{
20
template
<Player P>
21
class
AttackToPinned
22
{
23
public
:
29
template
<
class
Action>
30
static
void
generate
(
const
NumEffectState& state,Action& action);
31
static
void
generate
(
const
NumEffectState& state,MoveVector&
out
)
32
{
33
move_action::Store
store
(out);
34
generate
(state, store);
35
}
36
};
37
struct
GenerateAttackToPinned
38
{
39
static
void
generate
(
Player
player,
const
NumEffectState& state,
40
move_action::Store
&
store
);
41
};
42
}
43
}
44
45
#endif
/* OSL_MOVE_GENERATOR_ATTACK_TO_PINNED_H */
46
// ;;; Local Variables:
47
// ;;; mode:c++
48
// ;;; c-basic-offset:2
49
// ;;; End:
Generated on Sun Jul 21 2013 13:37:23 by
1.8.4