Go to the documentation of this file.00001 #ifndef OSL_SHADOW_EFFECT_H
00002 #define OSL_SHADOW_EFFECT_H
00003 #include "osl/state/numEffectState.h"
00004 namespace osl
00005 {
00006 namespace container
00007 {
00008 class PieceVector;
00009 }
00010 namespace effect_util
00011 {
00012 using container::PieceVector;
00016 struct ShadowEffect
00017 {
00018 private:
00019 template <int count_max>
00020 static int count(const NumEffectState&, Square target,
00021 Player attack);
00022 public:
00027 static bool hasEffect(const NumEffectState&, Square target,
00028 Player attack);
00033 static int count2(const NumEffectState&, Square target,
00034 Player attack);
00035 };
00036 }
00037 using effect_util::ShadowEffect;
00038 }
00039
00040 #endif
00041
00042
00043
00044