YAPOG  0.0.1
Yet Another Pokemon Online Game
AnyMapEventAction.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_ANYMAPEVENTACTION_HPP
2 # define YAPOG_ANYMAPEVENTACTION_HPP
3 
4 # include <functional>
5 
6 # include "YAPOG/Macros.hpp"
8 
9 namespace yap
10 {
11  class MapEventArgs;
12 
14  {
16 
17  public:
18 
19  typedef std::function<
21 
22  explicit AnyMapEventAction (CallbackType callback);
23  virtual ~AnyMapEventAction ();
24 
27  virtual AnyMapEventAction* Clone () const;
29 
30  protected:
31 
33 
34  virtual bool HandleExecute (MapEventArgs& args);
35 
36  private:
37 
39  };
40 } // namespace yap
41 
42 #endif // YAPOG_ANYMAPEVENTACTION_HPP