Public Member Functions | |
void | Keyboard (int key) override |
PolygonCollision () | |
void | Step (Settings &settings) override |
![]() | |
virtual void | BeginContact (b2Contact *contact) override |
Called when two fixtures begin to touch. More... | |
void | CompleteBombSpawn (const b2Vec2 &p) |
void | DrawTitle (const char *string) |
virtual void | EndContact (b2Contact *contact) override |
Called when two fixtures cease to touch. More... | |
virtual void | JointDestroyed (b2Joint *joint) |
virtual void | KeyboardUp (int key) |
void | LaunchBomb () |
void | LaunchBomb (const b2Vec2 &position, const b2Vec2 &velocity) |
virtual void | MouseDown (const b2Vec2 &p) |
virtual void | MouseMove (const b2Vec2 &p) |
virtual void | MouseUp (const b2Vec2 &p) |
virtual void | PostSolve (b2Contact *contact, const b2ContactImpulse *impulse) override |
virtual void | PreSolve (b2Contact *contact, const b2Manifold *oldManifold) override |
void | ShiftMouseDown (const b2Vec2 &p) |
void | ShiftOrigin (const b2Vec2 &newOrigin) |
void | SpawnBomb (const b2Vec2 &worldPt) |
Test () | |
virtual void | UpdateUI () |
virtual | ~Test () |
![]() | |
virtual | ~b2ContactListener () |
Static Public Member Functions | |
static Test * | Create () |
Public Attributes | |
float | m_angleB |
b2PolygonShape | m_polygonA |
b2PolygonShape | m_polygonB |
b2Vec2 | m_positionB |
b2Transform | m_transformA |
b2Transform | m_transformB |
Additional Inherited Members | |
![]() | |
b2Body * | m_bomb |
bool | m_bombSpawning |
b2Vec2 | m_bombSpawnPoint |
DestructionListener | m_destructionListener |
b2Body * | m_groundBody |
b2Profile | m_maxProfile |
b2MouseJoint * | m_mouseJoint |
b2Vec2 | m_mouseWorld |
int32 | m_pointCount |
ContactPoint | m_points [k_maxContactPoints] |
int32 | m_stepCount |
int32 | m_textIncrement |
int32 | m_textLine |
b2Profile | m_totalProfile |
b2World * | m_world |
b2AABB | m_worldAABB |
Definition at line 25 of file polygon_collision.cpp.
|
inline |
Definition at line 28 of file polygon_collision.cpp.
|
inlinestatic |
Definition at line 43 of file polygon_collision.cpp.
|
inlineoverridevirtual |
Reimplemented from Test.
Definition at line 85 of file polygon_collision.cpp.
Reimplemented from Test.
Definition at line 48 of file polygon_collision.cpp.
float PolygonCollision::m_angleB |
Definition at line 124 of file polygon_collision.cpp.
b2PolygonShape PolygonCollision::m_polygonA |
Definition at line 117 of file polygon_collision.cpp.
b2PolygonShape PolygonCollision::m_polygonB |
Definition at line 118 of file polygon_collision.cpp.
b2Vec2 PolygonCollision::m_positionB |
Definition at line 123 of file polygon_collision.cpp.
b2Transform PolygonCollision::m_transformA |
Definition at line 120 of file polygon_collision.cpp.
b2Transform PolygonCollision::m_transformB |
Definition at line 121 of file polygon_collision.cpp.