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

#include <EventTriggerBoundingBoxCollection.hpp>

Inheritance diagram for yap::EventTriggerBoundingBoxCollection:
Collaboration diagram for yap::EventTriggerBoundingBoxCollection:

List of all members.

Public Member Functions

 EventTriggerBoundingBoxCollection ()
virtual ~EventTriggerBoundingBoxCollection ()
 EventTriggerBoundingBoxCollection (const EventTriggerBoundingBoxCollection &copy)
void AddEventTriggerBoundingBox (BoundingBox *boundingBox)
void RemoveEventTriggerBoundingBox (BoundingBox *boundingBox)
void SetCollidableArea (DynamicWorldObject &parent, CollidableArea *collidableArea)
void GetEventsCollidingWith (const CollidableArea &collidableArea, MapEventQueue &events) const
- Public Member Functions inherited from yap::BoundingBoxCollection
virtual ~BoundingBoxCollection ()
ItType begin ()
ConstItType begin () const
ItType end ()
ConstItType end () const
virtual const Vector2GetPosition () const
 Gets the coordinates in pixels of the origin of this ISpatial from the global origin.
virtual const Vector2GetSize () const
 Gets the size in pixels of this ISpatial.
virtual const Vector2GetTopLeft () const
virtual const Vector2GetBottomRight () const
virtual const Vector2GetCenter () const
virtual const FloatRectGetRectangle () const
virtual void Move (const Vector2 &offset)
virtual void Scale (const Vector2 &factor)
virtual void SetPosition (const Vector2 &position)
virtual void SetSize (const Vector2 &size)
virtual const int & GetZ () const
 Gets the highness of this ISpatial3.
virtual void SetZ (int z)
 Sets the highness of this ISpatial3.
virtual const int & GetH () const
 Gets the height of this ISpatial3.
virtual void SetH (int h)
 Sets the height of this ISpatial3.
virtual bool CollidesWith (const ICollidable &other) const
virtual bool CollidesWith (const ICollidable &other, const Vector2 &offset) const
- Public Member Functions inherited from yap::ICollidable
virtual ~ICollidable ()
- Public Member Functions inherited from yap::ISpatial3
virtual ~ISpatial3 ()
- Public Member Functions inherited from yap::ISpatial
virtual ~ISpatial ()

Private Member Functions

 DISALLOW_ASSIGN (EventTriggerBoundingBoxCollection)
virtual void HandleAddBoundingBoxToCollidableArea (BoundingBox *boundingBox)
virtual void HandleRemoveBoundingBoxFromCollidableArea (BoundingBox *boundingBox)

Private Attributes

DynamicWorldObjectparent_

Additional Inherited Members

- Public Types inherited from yap::BoundingBoxCollection
typedef collection::List
< BoundingBox * >::ItType 
ItType
typedef collection::List
< BoundingBox * >::ConstItType 
ConstItType
- Protected Member Functions inherited from yap::BoundingBoxCollection
 BoundingBoxCollection ()
 BoundingBoxCollection (const BoundingBoxCollection &copy)
void AddBoundingBox (BoundingBox *boundingBox)
void RemoveBoundingBox (BoundingBox *boundingBox)
CollidableAreaGetCollidableArea ()
void SetCollidableArea (CollidableArea *collidableArea)
const collection::List
< BoundingBox * > & 
GetBoundingBoxes () const

Detailed Description

Definition at line 12 of file EventTriggerBoundingBoxCollection.hpp.


Constructor & Destructor Documentation

yap::EventTriggerBoundingBoxCollection::EventTriggerBoundingBoxCollection ( )

Definition at line 8 of file EventTriggerBoundingBoxCollection.cpp.

yap::EventTriggerBoundingBoxCollection::~EventTriggerBoundingBoxCollection ( )
virtual

Definition at line 14 of file EventTriggerBoundingBoxCollection.cpp.

yap::EventTriggerBoundingBoxCollection::EventTriggerBoundingBoxCollection ( const EventTriggerBoundingBoxCollection copy)

Definition at line 18 of file EventTriggerBoundingBoxCollection.cpp.

Here is the call graph for this function:


Member Function Documentation

void yap::EventTriggerBoundingBoxCollection::AddEventTriggerBoundingBox ( BoundingBox boundingBox)

Definition at line 27 of file EventTriggerBoundingBoxCollection.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

yap::EventTriggerBoundingBoxCollection::DISALLOW_ASSIGN ( EventTriggerBoundingBoxCollection  )
private
void yap::EventTriggerBoundingBoxCollection::GetEventsCollidingWith ( const CollidableArea collidableArea,
MapEventQueue events 
) const

Definition at line 48 of file EventTriggerBoundingBoxCollection.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::EventTriggerBoundingBoxCollection::HandleAddBoundingBoxToCollidableArea ( BoundingBox boundingBox)
privatevirtual

Implements yap::BoundingBoxCollection.

Definition at line 57 of file EventTriggerBoundingBoxCollection.cpp.

void yap::EventTriggerBoundingBoxCollection::HandleRemoveBoundingBoxFromCollidableArea ( BoundingBox boundingBox)
privatevirtual

Implements yap::BoundingBoxCollection.

Definition at line 63 of file EventTriggerBoundingBoxCollection.cpp.

void yap::EventTriggerBoundingBoxCollection::RemoveEventTriggerBoundingBox ( BoundingBox boundingBox)

Definition at line 33 of file EventTriggerBoundingBoxCollection.cpp.

Here is the call graph for this function:

void yap::EventTriggerBoundingBoxCollection::SetCollidableArea ( DynamicWorldObject parent,
CollidableArea collidableArea 
)

Definition at line 39 of file EventTriggerBoundingBoxCollection.cpp.

Here is the caller graph for this function:


Member Data Documentation

DynamicWorldObject* yap::EventTriggerBoundingBoxCollection::parent_
private

Definition at line 42 of file EventTriggerBoundingBoxCollection.hpp.


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