![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <BoundingBox.hpp>
Public Member Functions | |
| BoundingBox () | |
| BoundingBox (const Vector2 &position, const Vector2 &size, int z, int h) | |
| virtual | ~BoundingBox () |
| BoundingBox (const BoundingBox ©) | |
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 () |
Private Member Functions | |
| DISALLOW_ASSIGN (BoundingBox) | |
Private Attributes | |
| Spatial3Info | spatial3Info_ |
Definition at line 11 of file BoundingBox.hpp.
| yap::BoundingBox::BoundingBox | ( | ) |
Definition at line 5 of file BoundingBox.cpp.
Definition at line 10 of file BoundingBox.cpp.
|
virtual |
Definition at line 19 of file BoundingBox.cpp.
| yap::BoundingBox::BoundingBox | ( | const BoundingBox & | copy | ) |
Definition at line 23 of file BoundingBox.cpp.
|
virtual |
Implements yap::ICollidable.
Definition at line 104 of file BoundingBox.cpp.
|
virtual |
Implements yap::ICollidable.
Definition at line 113 of file BoundingBox.cpp.
|
private |
|
virtual |
Implements yap::ISpatial.
Definition at line 43 of file BoundingBox.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 48 of file BoundingBox.cpp.
|
virtual |
Gets the height of this ISpatial3.
Implements yap::ISpatial3.
Definition at line 94 of file BoundingBox.cpp.
|
virtual |
Gets the coordinates in pixels of the origin of this ISpatial from the global origin.
Implements yap::ISpatial.
Definition at line 28 of file BoundingBox.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 53 of file BoundingBox.cpp.
|
virtual |
Gets the size in pixels of this ISpatial.
Implements yap::ISpatial.
Definition at line 33 of file BoundingBox.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 38 of file BoundingBox.cpp.
|
virtual |
Gets the highness of this ISpatial3.
Implements yap::ISpatial3.
Definition at line 84 of file BoundingBox.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 58 of file BoundingBox.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 63 of file BoundingBox.cpp.
|
virtual |
Sets the height of this ISpatial3.
| h | Height of this ISpatial3. |
Implements yap::ISpatial3.
Definition at line 99 of file BoundingBox.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 71 of file BoundingBox.cpp.
|
virtual |
Implements yap::ISpatial.
Definition at line 76 of file BoundingBox.cpp.
|
virtual |
Sets the highness of this ISpatial3.
| z | Highness of this ISpatial3. |
Implements yap::ISpatial3.
Definition at line 89 of file BoundingBox.cpp.
|
private |
Definition at line 64 of file BoundingBox.hpp.