![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <BoundingBoxCollection.hpp>
Public Types | |
| typedef collection::List < BoundingBox * >::ItType | ItType |
| typedef collection::List < BoundingBox * >::ConstItType | ConstItType |
Public Member Functions | |
| virtual | ~BoundingBoxCollection () |
| ItType | begin () |
| ConstItType | begin () const |
| ItType | end () |
| ConstItType | end () const |
ISpatial members. | |
| 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) |
ISpatial3 members. | |
| 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. | |
ICollidable members. | |
| 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 () |
Protected Member Functions | |
| BoundingBoxCollection () | |
| BoundingBoxCollection (const BoundingBoxCollection ©) | |
| void | AddBoundingBox (BoundingBox *boundingBox) |
| void | RemoveBoundingBox (BoundingBox *boundingBox) |
| CollidableArea & | GetCollidableArea () |
| void | SetCollidableArea (CollidableArea *collidableArea) |
| const collection::List < BoundingBox * > & | GetBoundingBoxes () const |
Private Member Functions | |
| DISALLOW_ASSIGN (BoundingBoxCollection) | |
| void | AddBoundingBoxToCollidableArea (BoundingBox *boundingBox) |
| void | RemoveBoundingBoxFromCollidableArea (BoundingBox *boundingBox) |
| virtual void | HandleAddBoundingBoxToCollidableArea (BoundingBox *boundingBox)=0 |
| virtual void | HandleRemoveBoundingBoxFromCollidableArea (BoundingBox *boundingBox)=0 |
| void | AddBoundingBoxesToCollidableArea () |
| void | RemoveBoundingBoxesFromCollidableArea () |
Private Attributes | |
| Spatial3Info | spatial3Info_ |
| collection::List< BoundingBox * > | boundingBoxes_ |
| CollidableArea * | collidableArea_ |
Definition at line 15 of file BoundingBoxCollection.hpp.
Definition at line 22 of file BoundingBoxCollection.hpp.
Definition at line 21 of file BoundingBoxCollection.hpp.
|
virtual |
Definition at line 15 of file BoundingBoxCollection.cpp.
|
protected |
Definition at line 8 of file BoundingBoxCollection.cpp.
|
protected |
Definition at line 21 of file BoundingBoxCollection.cpp.
|
protected |
Definition at line 29 of file BoundingBoxCollection.cpp.
|
private |
Definition at line 229 of file BoundingBoxCollection.cpp.
|
private |
Definition at line 187 of file BoundingBoxCollection.cpp.
| BoundingBoxCollection::ItType yap::BoundingBoxCollection::begin | ( | ) |
| BoundingBoxCollection::ConstItType yap::BoundingBoxCollection::begin | ( | ) | const |
|
virtual |
Implements yap::ICollidable.
Definition at line 171 of file BoundingBoxCollection.cpp.
|
virtual |
Implements yap::ICollidable.
Definition at line 176 of file BoundingBoxCollection.cpp.
|
private |
| BoundingBoxCollection::ItType yap::BoundingBoxCollection::end | ( | ) |
| BoundingBoxCollection::ConstItType yap::BoundingBoxCollection::end | ( | ) | const |
|
virtual |
Implements yap::ISpatial.
Definition at line 78 of file BoundingBoxCollection.cpp.
|
protected |
Definition at line 224 of file BoundingBoxCollection.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 83 of file BoundingBoxCollection.cpp.
|
protected |
Definition at line 205 of file BoundingBoxCollection.cpp.
|
virtual |
Gets the height of this ISpatial3.
Implements yap::ISpatial3.
Definition at line 152 of file BoundingBoxCollection.cpp.
|
virtual |
Gets the coordinates in pixels of the origin of this ISpatial from the global origin.
Implements yap::ISpatial.
Definition at line 63 of file BoundingBoxCollection.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 88 of file BoundingBoxCollection.cpp.
|
virtual |
Gets the size in pixels of this ISpatial.
Implements yap::ISpatial.
Definition at line 68 of file BoundingBoxCollection.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 73 of file BoundingBoxCollection.cpp.
|
virtual |
Gets the highness of this ISpatial3.
Implements yap::ISpatial3.
Definition at line 133 of file BoundingBoxCollection.cpp.
|
privatepure virtual |
Implemented in yap::EventBoundingBoxCollection, yap::EventTriggerBoundingBoxCollection, and yap::PhysicsBoundingBoxCollection.
|
privatepure virtual |
Implemented in yap::EventBoundingBoxCollection, yap::EventTriggerBoundingBoxCollection, and yap::PhysicsBoundingBoxCollection.
|
virtual |
Implements yap::ISpatial.
Definition at line 93 of file BoundingBoxCollection.cpp.
|
protected |
Definition at line 36 of file BoundingBoxCollection.cpp.
|
private |
Definition at line 238 of file BoundingBoxCollection.cpp.
|
private |
Definition at line 196 of file BoundingBoxCollection.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 105 of file BoundingBoxCollection.cpp.
|
protected |
|
virtual |
Sets the height of this ISpatial3.
| h | Height of this ISpatial3. |
Implements yap::ISpatial3.
Definition at line 157 of file BoundingBoxCollection.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 120 of file BoundingBoxCollection.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 125 of file BoundingBoxCollection.cpp.
|
virtual |
Sets the highness of this ISpatial3.
| z | Highness of this ISpatial3. |
Implements yap::ISpatial3.
Definition at line 138 of file BoundingBoxCollection.cpp.
|
private |
Definition at line 95 of file BoundingBoxCollection.hpp.
|
private |
Definition at line 97 of file BoundingBoxCollection.hpp.
|
private |
Definition at line 93 of file BoundingBoxCollection.hpp.