All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shadowEffect.h
Go to the documentation of this file.
1 #ifndef OSL_SHADOW_EFFECT_H
2 #define OSL_SHADOW_EFFECT_H
4 namespace osl
5 {
6  namespace container
7  {
8  class PieceVector;
9  }
10  namespace effect_util
11  {
12  using container::PieceVector;
16  struct ShadowEffect
17  {
18  private:
19  template <int count_max>
20  static int count(const NumEffectState&, Square target,
21  Player attack);
22  public:
27  static bool hasEffect(const NumEffectState&, Square target,
28  Player attack);
33  static int count2(const NumEffectState&, Square target,
34  Player attack);
35  };
36  } // namespace effect_util
38 } // namespace osl
39 
40 #endif /* OSL_SHADOW_EFFECT_H */
41 // ;;; Local Variables:
42 // ;;; mode:c++
43 // ;;; c-basic-offset:2
44 // ;;; End: