attackToPinned.h
Go to the documentation of this file.
00001 #ifndef OSL_MOVE_GENERATOR_ATTACK_TO_PINNED_H
00002 #define OSL_MOVE_GENERATOR_ATTACK_TO_PINNED_H
00003 #include "osl/player.h"
00004 #include "osl/state/numEffectState.h"
00005 #include "osl/move_action/store.h"
00006 #include "osl/container/moveVector.h"
00007 
00008 namespace osl
00009 {
00010   namespace move_generator
00011   {
00020     template<Player P>
00021     class AttackToPinned
00022     {
00023     public:
00029       template<class Action>
00030       static void generate(const NumEffectState& state,Action& action);
00031       static void generate(const NumEffectState& state,MoveVector& out)
00032       {
00033         move_action::Store store(out);
00034         generate(state, store);
00035       }
00036     };
00037     struct GenerateAttackToPinned
00038     {
00039       static void generate(Player player,const NumEffectState& state,
00040                            move_action::Store& store);
00041     };
00042   }
00043 }
00044 
00045 #endif /* OSL_MOVE_GENERATOR_ATTACK_TO_PINNED_H */
00046 // ;;; Local Variables:
00047 // ;;; mode:c++
00048 // ;;; c-basic-offset:2
00049 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines