#include <qafCollisionStruct.h>
Inheritance diagram for qaf::CollisionStruct::Circle:
Public Member Functions | |
Circle (float xCenter, float yCenter, float radius) | |
Initializes the circle's parameters. | |
Circle () | |
Initializes the circle to (0, 0) and radius 0. | |
void | setXCenter (float x) |
void | setYCenter (float y) |
void | setRadius (float r) |
float | getXCenter () |
float | getYCenter () |
float | getRadius () |
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) |