addEffect8.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
addEffect8.h
Go to the documentation of this file.
1 #ifndef OSL_MOVE_GENERATOR_ADD_EFFECT8_H
2 #define OSL_MOVE_GENERATOR_ADD_EFFECT8_H
3 #include "osl/player.h"
4 #include "osl/ptype.h"
5 #include "osl/state/numEffectState.h"
6 #include "osl/move_action/store.h"
7 #include "osl/container/moveVector.h"
8 #include "osl/misc/loki.h"
9
10 namespace osl
11 {
12 namespace move_generator
13 {
21 template<Player P>
22 class AddEffect8
23 {
24 public:
59 template<class Action>
60 static void generate(const NumEffectState& state,Action& action);
61 static void generate(const NumEffectState& state, MoveVector& out)
62 {
63 move_action::Store store(out);
64 generate(state, store);
65 }
69 template<class Action>
70 static void generateNotBigDrop(const NumEffectState& state,Action& action);
74 template<class Action>
75 static void generateBigDrop(const NumEffectState& state,Action& action);
76 };
77
78 struct GenerateAddEffect8
79 {
84 static void generate(Player player, const NumEffectState& state,
85 move_action::Store& store);
86 static void generateBigDrop(Player player, const NumEffectState& state,
87 move_action::Store& store);
88 static void generateNotBigDrop(Player player, const NumEffectState& state,
89 move_action::Store& store);
90 };
91 }
92 }
93 #endif /* OSL_MOVE_GENERATOR_ADD_EFFECT8_H */
94 // ;;; Local Variables:
95 // ;;; mode:c++
96 // ;;; c-basic-offset:2
97 // ;;; End: