![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <PhysicsBoundingBoxCollection.hpp>
Public Member Functions | |
| PhysicsBoundingBoxCollection () | |
| virtual | ~PhysicsBoundingBoxCollection () |
| PhysicsBoundingBoxCollection (const PhysicsBoundingBoxCollection ©) | |
| void | AddPhysicsBoundingBox (BoundingBox *boundingBox) |
| void | RemovePhysicsBoundingBox (BoundingBox *boundingBox) |
| void | SetCollidableArea (const WorldObject &parent, CollidableArea *collidableArea) |
| bool | CollidesWithArea (const CollidableArea &collidableArea, const Vector2 &offset) 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 (PhysicsBoundingBoxCollection) | |
| virtual void | HandleAddBoundingBoxToCollidableArea (BoundingBox *boundingBox) |
| virtual void | HandleRemoveBoundingBoxFromCollidableArea (BoundingBox *boundingBox) |
Private Attributes | |
| const WorldObject * | 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 PhysicsBoundingBoxCollection.hpp.
| yap::PhysicsBoundingBoxCollection::PhysicsBoundingBoxCollection | ( | ) |
Definition at line 9 of file PhysicsBoundingBoxCollection.cpp.
|
virtual |
Definition at line 15 of file PhysicsBoundingBoxCollection.cpp.
| yap::PhysicsBoundingBoxCollection::PhysicsBoundingBoxCollection | ( | const PhysicsBoundingBoxCollection & | copy | ) |
Definition at line 19 of file PhysicsBoundingBoxCollection.cpp.
| void yap::PhysicsBoundingBoxCollection::AddPhysicsBoundingBox | ( | BoundingBox * | boundingBox | ) |
Definition at line 28 of file PhysicsBoundingBoxCollection.cpp.
| bool yap::PhysicsBoundingBoxCollection::CollidesWithArea | ( | const CollidableArea & | collidableArea, |
| const Vector2 & | offset | ||
| ) | const |
Definition at line 49 of file PhysicsBoundingBoxCollection.cpp.
|
private |
|
privatevirtual |
Implements yap::BoundingBoxCollection.
Definition at line 60 of file PhysicsBoundingBoxCollection.cpp.
|
privatevirtual |
Implements yap::BoundingBoxCollection.
Definition at line 72 of file PhysicsBoundingBoxCollection.cpp.
| void yap::PhysicsBoundingBoxCollection::RemovePhysicsBoundingBox | ( | BoundingBox * | boundingBox | ) |
Definition at line 34 of file PhysicsBoundingBoxCollection.cpp.
| void yap::PhysicsBoundingBoxCollection::SetCollidableArea | ( | const WorldObject & | parent, |
| CollidableArea * | collidableArea | ||
| ) |
Definition at line 40 of file PhysicsBoundingBoxCollection.cpp.
|
private |
Definition at line 41 of file PhysicsBoundingBoxCollection.hpp.