YAPOG  0.0.1
Yet Another Pokemon Online Game
IMapEventCondition.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_IMAPEVENTCONDITION_HPP
2 # define YAPOG_IMAPEVENTCONDITION_HPP
3 
4 # include "YAPOG/Macros.hpp"
7 
8 namespace yap
9 {
10  class MapEventArgs;
11 
14  {
15  virtual ~IMapEventCondition () { }
16 
17  virtual bool IsValid (MapEventArgs& args) const = 0;
18 
19  virtual IMapEventCondition* Clone () const { return nullptr; }
20  };
21 } // namespace yap
22 
23 #endif // YAPOG_IMAPEVENTCONDITION_HPP