Public Member Functions | |
void | Keyboard (int key) override |
ShapeEditing () | |
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 | |
b2Body * | m_body |
b2Fixture * | m_fixture1 |
b2Fixture * | m_fixture2 |
bool | m_sensor |
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 shape_editing.cpp.
|
inline |
Definition at line 29 of file shape_editing.cpp.
|
inlinestatic |
Definition at line 97 of file shape_editing.cpp.
|
inlineoverridevirtual |
Reimplemented from Test.
Definition at line 54 of file shape_editing.cpp.
Reimplemented from Test.
Definition at line 88 of file shape_editing.cpp.
b2Body* ShapeEditing::m_body |
Definition at line 102 of file shape_editing.cpp.
b2Fixture* ShapeEditing::m_fixture1 |
Definition at line 103 of file shape_editing.cpp.
b2Fixture* ShapeEditing::m_fixture2 |
Definition at line 104 of file shape_editing.cpp.
bool ShapeEditing::m_sensor |
Definition at line 105 of file shape_editing.cpp.