#include <qafCollisionStruct.h>
Inheritance diagram for qaf::CollisionStruct::Box:

Public Member Functions | |
| Box (float x, float y, float w, float h) | |
| Initializes the box's boundaries. | |
| Box () | |
| Initializes the box's boundaries to (0, 0, 0, 0). | |
| void | setX (float _x) |
| void | setY (float _y) |
| void | setWidth (float _w) |
| void | setHeight (float _h) |
| float | getX () |
| float | getY () |
| float | getWidth () |
| float | getHeight () |
| void | render (float scrollX, float scrollY, unsigned long color) |
| bool | collidesWith (CollisionStruct *otherStruct) |
| bool | hasPoint (float x, float y) |
| bool | pointIntersection (float x1, float y1, float x2, float y2, Vector2D *pContact, Vector2D *pNormal) |
| void | move (float dx, float dy) |
1.5.1-p1