qaf::CollisionStruct::Circle Class Reference

#include <qafCollisionStruct.h>

Inheritance diagram for qaf::CollisionStruct::Circle:

qaf::CollisionStruct List of all members.

Detailed Description

Represents circular collision boundaries.


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)


The documentation for this class was generated from the following file:
Generated on Sun Mar 25 12:32:13 2007 for Qaf Framework by  doxygen 1.5.1-p1