YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::TriggerBattleMapEventAction Class Reference

#include <TriggerBattleMapEventAction.hpp>

Inheritance diagram for yap::TriggerBattleMapEventAction:
Collaboration diagram for yap::TriggerBattleMapEventAction:

List of all members.

Public Member Functions

 TriggerBattleMapEventAction (BattleSpawnerArea &source)
virtual ~TriggerBattleMapEventAction ()
virtual void VisitPlayer (IPlayer &visitable)
ICloneable members.
virtual
TriggerBattleMapEventAction
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 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

 TriggerBattleMapEventAction (const TriggerBattleMapEventAction &copy)
- Protected Member Functions inherited from yap::BaseMapEventAction
 BaseMapEventAction ()
 BaseMapEventAction (const BaseMapEventAction &copy)
MapEventActionType GetContextType () const
MapEventArgsGetArgs ()

Private Member Functions

 DISALLOW_ASSIGN (TriggerBattleMapEventAction)
bool TriggerBattle (const Vector2 &offset)

Private Attributes

BattleSpawnerAreasource_

Static Private Attributes

static const String OBJECT_ENTERING_HANDLER_NAME = "ObjectEntering"

Detailed Description

Definition at line 13 of file TriggerBattleMapEventAction.hpp.


Constructor & Destructor Documentation

yap::TriggerBattleMapEventAction::TriggerBattleMapEventAction ( BattleSpawnerArea source)
explicit

Definition at line 14 of file TriggerBattleMapEventAction.cpp.

Here is the caller graph for this function:

yap::TriggerBattleMapEventAction::~TriggerBattleMapEventAction ( )
virtual

Definition at line 21 of file TriggerBattleMapEventAction.cpp.

yap::TriggerBattleMapEventAction::TriggerBattleMapEventAction ( const TriggerBattleMapEventAction copy)
protected

Definition at line 25 of file TriggerBattleMapEventAction.cpp.


Member Function Documentation

TriggerBattleMapEventAction * yap::TriggerBattleMapEventAction::Clone ( ) const
virtual

Reimplemented from yap::IMapEventAction.

Definition at line 32 of file TriggerBattleMapEventAction.cpp.

Here is the call graph for this function:

yap::TriggerBattleMapEventAction::DISALLOW_ASSIGN ( TriggerBattleMapEventAction  )
private
bool yap::TriggerBattleMapEventAction::TriggerBattle ( const Vector2 offset)
private

Definition at line 83 of file TriggerBattleMapEventAction.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::TriggerBattleMapEventAction::VisitPlayer ( IPlayer visitable)
virtual

Reimplemented from yap::BaseMapEventAction.

Definition at line 37 of file TriggerBattleMapEventAction.cpp.

Here is the call graph for this function:


Member Data Documentation

const String yap::TriggerBattleMapEventAction::OBJECT_ENTERING_HANDLER_NAME = "ObjectEntering"
staticprivate

Definition at line 35 of file TriggerBattleMapEventAction.hpp.

BattleSpawnerArea& yap::TriggerBattleMapEventAction::source_
private

Definition at line 39 of file TriggerBattleMapEventAction.hpp.


The documentation for this class was generated from the following files: