![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <AnyMapEventAction.hpp>
Public Types | |
| typedef std::function< bool(MapEventActionType, MapEventArgs &)> | CallbackType |
Public Member Functions | |
| AnyMapEventAction (CallbackType callback) | |
| virtual | ~AnyMapEventAction () |
ICloneable members. | |
| virtual AnyMapEventAction * | Clone () const |
Public Member Functions inherited from yap::BaseMapEventAction | |
| virtual | ~BaseMapEventAction () |
| virtual bool | Execute (MapEventActionType contextType, DynamicWorldObject &trigger, MapEventArgs &args) |
| Sets up the MapEventArgs args for the next execution. | |
| virtual void | VisitDynamicWorldObject (DynamicWorldObject &visitable) |
| virtual void | VisitCharacter (Character &visitable) |
| virtual void | VisitPlayer (IPlayer &visitable) |
| virtual void | VisitTeleporter (Teleporter &visitable) |
| virtual void | VisitDestructibleObject (DestructibleObject &visitable) |
| virtual void | VisitBattleSpawnerArea (BattleSpawnerArea &visitable) |
Public Member Functions inherited from yap::IMapEventAction | |
| virtual | ~IMapEventAction () |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Public Member Functions inherited from yap::IDynamicWorldObjectVisitor | |
| virtual | ~IDynamicWorldObjectVisitor () |
Protected Member Functions | |
| AnyMapEventAction (const AnyMapEventAction ©) | |
| virtual bool | HandleExecute (MapEventArgs &args) |
Protected Member Functions inherited from yap::BaseMapEventAction | |
| BaseMapEventAction () | |
| BaseMapEventAction (const BaseMapEventAction ©) | |
| MapEventActionType | GetContextType () const |
| MapEventArgs & | GetArgs () |
Private Member Functions | |
| DISALLOW_ASSIGN (AnyMapEventAction) | |
Private Attributes | |
| CallbackType | callback_ |
Definition at line 13 of file AnyMapEventAction.hpp.
| typedef std::function< bool (MapEventActionType, MapEventArgs&)> yap::AnyMapEventAction::CallbackType |
Definition at line 20 of file AnyMapEventAction.hpp.
|
explicit |
|
virtual |
Definition at line 11 of file AnyMapEventAction.cpp.
|
protected |
Definition at line 15 of file AnyMapEventAction.cpp.
|
virtual |
Reimplemented from yap::IMapEventAction.
Definition at line 21 of file AnyMapEventAction.cpp.
|
private |
|
protectedvirtual |
Reimplemented from yap::BaseMapEventAction.
Definition at line 26 of file AnyMapEventAction.cpp.
|
private |
Definition at line 38 of file AnyMapEventAction.hpp.