YAPOG  0.0.1
Yet Another Pokemon Online Game
MapEventInfo.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_MAPEVENTINFO_HPP
2 # define YAPOG_MAPEVENTINFO_HPP
3 
4 # include <memory>
5 
6 # include "YAPOG/Macros.hpp"
7 
8 namespace yap
9 {
10  struct ICollidable;
11 
12  class MapEvent;
13  class DynamicWorldObject;
14 
16  {
18 
19  public:
20 
21  typedef std::shared_ptr<MapEventInfo> PtrType;
22 
23  MapEventInfo (
24  ICollidable& sourceCollidable,
25  MapEvent& event,
26  DynamicWorldObject& parent);
27 
28  ICollidable& GetSourceCollidable ();
29  MapEvent& GetEvent ();
30  DynamicWorldObject& GetParent ();
31 
32  private:
33 
37  };
38 } // namespace yap
39 
40 #endif // YAPOG_MAPEVENTINFO_HPP