00001 #ifndef OSL_SHADOW_EFFECT_H 00002 #define OSL_SHADOW_EFFECT_H 00003 #include "osl/numEffectState.h" 00004 namespace osl 00005 { 00006 namespace effect_util 00007 { 00011 struct ShadowEffect 00012 { 00013 private: 00014 template <int count_max> 00015 static int count(const NumEffectState&, Square target, 00016 Player attack); 00017 public: 00022 static bool hasEffect(const NumEffectState&, Square target, 00023 Player attack); 00028 static int count2(const NumEffectState&, Square target, 00029 Player attack); 00030 }; 00031 } // namespace effect_util 00032 using effect_util::ShadowEffect; 00033 } // namespace osl 00034 00035 #endif /* OSL_SHADOW_EFFECT_H */ 00036 // ;;; Local Variables: 00037 // ;;; mode:c++ 00038 // ;;; c-basic-offset:2 00039 // ;;; End: