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

#include <MapEvent.hpp>

Inheritance diagram for yap::MapEvent:
Collaboration diagram for yap::MapEvent:

List of all members.

Public Member Functions

 MapEvent ()
virtual ~MapEvent ()
bool Call (MapEventActionType actionType, MapEventArgs &args)
void AddBoundingBox (BoundingBox *boundingBox)
void RemoveBoundingBox (BoundingBox *boundingBox)
void AddCondition (IMapEventCondition *condition)
void RemoveCondition (IMapEventCondition *condition)
void AddAction (IMapEventAction *action)
void RemoveAction (IMapEventAction *action)
void AddToEventBoundingBoxCollection (EventBoundingBoxCollection &eventBoundingBoxCollection, const DynamicWorldObject &parent)
void RemoveFromEventBoundingBoxCollection (EventBoundingBoxCollection &eventBoundingBoxCollection)
bool CollidesWith (const ICollidable &collidable) const
ICloneable members.
virtual MapEventClone () const

Protected Member Functions

 MapEvent (const MapEvent &copy)
virtual bool HandleCall (MapEventActionType actionType, MapEventArgs &args)

Private Member Functions

 DISALLOW_ASSIGN (MapEvent)
- Private Member Functions inherited from yap::ICloneable
virtual ~ICloneable ()

Private Attributes

collection::List< BoundingBox * > boundingBoxes_
collection::List
< IMapEventCondition * > 
conditions_
collection::List
< IMapEventAction * > 
actions_

Detailed Description

Definition at line 20 of file MapEvent.hpp.


Constructor & Destructor Documentation

yap::MapEvent::MapEvent ( )

Definition at line 11 of file MapEvent.cpp.

Here is the caller graph for this function:

yap::MapEvent::~MapEvent ( )
virtual

Definition at line 18 of file MapEvent.cpp.

yap::MapEvent::MapEvent ( const MapEvent copy)
protected

Definition at line 30 of file MapEvent.cpp.

Here is the call graph for this function:


Member Function Documentation

void yap::MapEvent::AddAction ( IMapEventAction action)

Definition at line 83 of file MapEvent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::MapEvent::AddBoundingBox ( BoundingBox boundingBox)

Definition at line 59 of file MapEvent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::MapEvent::AddCondition ( IMapEventCondition condition)

Definition at line 71 of file MapEvent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::MapEvent::AddToEventBoundingBoxCollection ( EventBoundingBoxCollection eventBoundingBoxCollection,
const DynamicWorldObject parent 
)

Definition at line 95 of file MapEvent.cpp.

Here is the call graph for this function:

bool yap::MapEvent::Call ( MapEventActionType  actionType,
MapEventArgs args 
)

Definition at line 50 of file MapEvent.cpp.

Here is the call graph for this function:

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

Implements yap::ICloneable.

Definition at line 45 of file MapEvent.cpp.

Here is the call graph for this function:

bool yap::MapEvent::CollidesWith ( const ICollidable collidable) const

Definition at line 113 of file MapEvent.cpp.

yap::MapEvent::DISALLOW_ASSIGN ( MapEvent  )
private
bool yap::MapEvent::HandleCall ( MapEventActionType  actionType,
MapEventArgs args 
)
protectedvirtual

Definition at line 122 of file MapEvent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::MapEvent::RemoveAction ( IMapEventAction action)

Definition at line 88 of file MapEvent.cpp.

Here is the call graph for this function:

void yap::MapEvent::RemoveBoundingBox ( BoundingBox boundingBox)

Definition at line 64 of file MapEvent.cpp.

Here is the call graph for this function:

void yap::MapEvent::RemoveCondition ( IMapEventCondition condition)

Definition at line 76 of file MapEvent.cpp.

Here is the call graph for this function:

void yap::MapEvent::RemoveFromEventBoundingBoxCollection ( EventBoundingBoxCollection eventBoundingBoxCollection)

Definition at line 106 of file MapEvent.cpp.

Here is the call graph for this function:


Member Data Documentation

collection::List<IMapEventAction*> yap::MapEvent::actions_
private

Definition at line 65 of file MapEvent.hpp.

collection::List<BoundingBox*> yap::MapEvent::boundingBoxes_
private

Definition at line 62 of file MapEvent.hpp.

collection::List<IMapEventCondition*> yap::MapEvent::conditions_
private

Definition at line 64 of file MapEvent.hpp.


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