|
| enum | BoundsMode { kStopAtBounds,
kBounceOffBounds
} |
| |
|
|
void | setSize (int width, int height) |
| |
|
void | setBounds (const Common::Rect &bounds) |
| |
|
void | setBoundsMode (BoundsMode mode) |
| |
|
void | setObstacles (const Common::Array< Obstacle > *obstacles) |
| |
|
void | moveTo (double x, double y) |
| |
|
double | getX () const |
| |
|
double | getY () const |
| |
|
Common::Rect | getRect () const |
| |
|
void | setSpeed (double speed) |
| |
|
double | getSpeed () const |
| |
|
void | setMaxSpeed (double maxSpeed) |
| |
|
void | setHeading (double heading) |
| |
|
double | getHeading () const |
| |
|
void | setFriction (double friction) |
| |
|
void | setForce (double x, double y) |
| |
|
bool | hasHitBounds () const |
| |
|
void | clearHitBounds () |
| |
|
void | update (uint32 numTicks) |
| |
|
|
static double | getAngle (double x, double y) |
| |
|
|
static const uint32 | kTickLength = 20 |
| |
The documentation for this class was generated from the following file: