YAPOG  0.0.1
Yet Another Pokemon Online Game
FrameSwitcher.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_FRAMESWITCHER_HPP
2 # define YAPOG_FRAMESWITCHER_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
9  class Time;
10 
12  {
14 
15  public:
16 
17  virtual ~FrameSwitcher ();
18 
20  int FrameIsOver (const Time& dt);
21 
24  virtual FrameSwitcher* Clone () const = 0;
26 
27  protected:
28 
29  FrameSwitcher ();
30 
31  private:
32 
33  virtual int HandleFrameIsOver (const Time& dt) = 0;
34  };
35 } // namespace yap
36 
37 #endif // YAPOG_FRAMESWITCHER_HPP