YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
IMapEventAction.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_IMAPEVENTACTION_HPP
2
# define YAPOG_IMAPEVENTACTION_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/Factory/ICloneable.hpp
"
6
# include "
YAPOG/Game/World/Map/IDynamicWorldObjectVisitor.hpp
"
7
# include "
YAPOG/Game/World/Map/MapEventActionType.hpp
"
8
9
namespace
yap
10
{
11
class
DynamicWorldObject;
12
class
MapEventArgs;
13
14
struct
IMapEventAction
:
public
ICloneable
15
,
public
IDynamicWorldObjectVisitor
16
{
17
virtual
~IMapEventAction
() { }
18
26
virtual
bool
Execute
(
27
MapEventActionType
contextType,
28
DynamicWorldObject
& trigger,
29
MapEventArgs
& args) = 0;
30
31
virtual
IMapEventAction
*
Clone
()
const
{
return
nullptr
; }
32
};
33
}
// namespace yap
34
35
#endif // YAPOG_IMAPEVENTACTION_HPP
YAPOG
include
YAPOG
Game
World
Map
IMapEventAction.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1