![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <EventBoundingBoxCollection.hpp>
Public Member Functions | |
| EventBoundingBoxCollection () | |
| virtual | ~EventBoundingBoxCollection () |
| EventBoundingBoxCollection (const EventBoundingBoxCollection ©) | |
| void | AddEventBoundingBox (BoundingBox *boundingBox, MapEvent *event) |
| void | RemoveEventBoundingBox (BoundingBox *boundingBox) |
| void | SetCollidableArea (DynamicWorldObject &parent, CollidableArea *collidableArea) |
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 (EventBoundingBoxCollection) | |
| virtual void | HandleAddBoundingBoxToCollidableArea (BoundingBox *boundingBox) |
| virtual void | HandleRemoveBoundingBoxFromCollidableArea (BoundingBox *boundingBox) |
Private Attributes | |
| DynamicWorldObject * | parent_ |
| collection::Map< BoundingBox *, MapEvent * > | eventBoundingBoxes_ |
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 15 of file EventBoundingBoxCollection.hpp.
| yap::EventBoundingBoxCollection::EventBoundingBoxCollection | ( | ) |
Definition at line 9 of file EventBoundingBoxCollection.cpp.
|
virtual |
Definition at line 16 of file EventBoundingBoxCollection.cpp.
| yap::EventBoundingBoxCollection::EventBoundingBoxCollection | ( | const EventBoundingBoxCollection & | copy | ) |
Definition at line 20 of file EventBoundingBoxCollection.cpp.
| void yap::EventBoundingBoxCollection::AddEventBoundingBox | ( | BoundingBox * | boundingBox, |
| MapEvent * | event | ||
| ) |
Definition at line 28 of file EventBoundingBoxCollection.cpp.
|
private |
|
privatevirtual |
Implements yap::BoundingBoxCollection.
Definition at line 54 of file EventBoundingBoxCollection.cpp.
|
privatevirtual |
Implements yap::BoundingBoxCollection.
Definition at line 66 of file EventBoundingBoxCollection.cpp.
| void yap::EventBoundingBoxCollection::RemoveEventBoundingBox | ( | BoundingBox * | boundingBox | ) |
Definition at line 37 of file EventBoundingBoxCollection.cpp.
| void yap::EventBoundingBoxCollection::SetCollidableArea | ( | DynamicWorldObject & | parent, |
| CollidableArea * | collidableArea | ||
| ) |
Definition at line 45 of file EventBoundingBoxCollection.cpp.
|
private |
Definition at line 44 of file EventBoundingBoxCollection.hpp.
|
private |
Definition at line 42 of file EventBoundingBoxCollection.hpp.