YAPOG  0.0.1
Yet Another Pokemon Online Game
AnyFrameSwitcher.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_ANYFRAMESWITCHER_HPP
2 # define YAPOG_ANYFRAMESWITCHER_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
11  {
13 
14  public:
15 
17  explicit AnyFrameSwitcher (int switchCount);
18  virtual ~AnyFrameSwitcher ();
19 
22  virtual AnyFrameSwitcher* Clone () const;
24 
25  protected:
26 
27  AnyFrameSwitcher (const AnyFrameSwitcher& copy);
28 
29  private:
30 
31  virtual int HandleFrameIsOver (const Time& dt);
32 
33  static const int DEFAULT_SWITCH_COUNT;
34 
36  };
37 } // namespace yap
38 
39 #endif // YAPOG_ANYFRAMESWITCHER_HPP