![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <EventTriggerBoundingBoxCollection.hpp>
Public Member Functions | |
| EventTriggerBoundingBoxCollection () | |
| virtual | ~EventTriggerBoundingBoxCollection () |
| EventTriggerBoundingBoxCollection (const EventTriggerBoundingBoxCollection ©) | |
| 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 Vector2 & | GetPosition () const |
| Gets the coordinates in pixels of the origin of this ISpatial from the global origin. | |
| virtual const Vector2 & | GetSize () const |
| Gets the size in pixels of this ISpatial. | |
| virtual const Vector2 & | GetTopLeft () const |
| virtual const Vector2 & | GetBottomRight () const |
| virtual const Vector2 & | GetCenter () const |
| virtual const FloatRect & | GetRectangle () 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 | |
| DynamicWorldObject * | parent_ |
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 ©) | |
| void | AddBoundingBox (BoundingBox *boundingBox) |
| void | RemoveBoundingBox (BoundingBox *boundingBox) |
| CollidableArea & | GetCollidableArea () |
| void | SetCollidableArea (CollidableArea *collidableArea) |
| const collection::List < BoundingBox * > & | GetBoundingBoxes () const |
Definition at line 12 of file EventTriggerBoundingBoxCollection.hpp.
| yap::EventTriggerBoundingBoxCollection::EventTriggerBoundingBoxCollection | ( | ) |
Definition at line 8 of file EventTriggerBoundingBoxCollection.cpp.
|
virtual |
Definition at line 14 of file EventTriggerBoundingBoxCollection.cpp.
| yap::EventTriggerBoundingBoxCollection::EventTriggerBoundingBoxCollection | ( | const EventTriggerBoundingBoxCollection & | copy | ) |
Definition at line 18 of file EventTriggerBoundingBoxCollection.cpp.
| void yap::EventTriggerBoundingBoxCollection::AddEventTriggerBoundingBox | ( | BoundingBox * | boundingBox | ) |
Definition at line 27 of file EventTriggerBoundingBoxCollection.cpp.
|
private |
| void yap::EventTriggerBoundingBoxCollection::GetEventsCollidingWith | ( | const CollidableArea & | collidableArea, |
| MapEventQueue & | events | ||
| ) | const |
Definition at line 48 of file EventTriggerBoundingBoxCollection.cpp.
|
privatevirtual |
Implements yap::BoundingBoxCollection.
Definition at line 57 of file EventTriggerBoundingBoxCollection.cpp.
|
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.
| void yap::EventTriggerBoundingBoxCollection::SetCollidableArea | ( | DynamicWorldObject & | parent, |
| CollidableArea * | collidableArea | ||
| ) |
Definition at line 39 of file EventTriggerBoundingBoxCollection.cpp.
|
private |
Definition at line 42 of file EventTriggerBoundingBoxCollection.hpp.