Public Member Functions | |
void | CreateLeg (float s, const b2Vec2 &wheelAnchor) |
void | Keyboard (int key) override |
void | Step (Settings &settings) override |
TheoJansen () | |
![]() | |
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_chassis |
b2RevoluteJoint * | m_motorJoint |
bool | m_motorOn |
float | m_motorSpeed |
b2Vec2 | m_offset |
b2Body * | m_wheel |
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 28 of file theo_jansen.cpp.
|
inline |
Definition at line 129 of file theo_jansen.cpp.
|
inlinestatic |
Definition at line 253 of file theo_jansen.cpp.
Definition at line 32 of file theo_jansen.cpp.
|
inlineoverridevirtual |
Reimplemented from Test.
Definition at line 231 of file theo_jansen.cpp.
Reimplemented from Test.
Definition at line 223 of file theo_jansen.cpp.
b2Body* TheoJansen::m_chassis |
Definition at line 259 of file theo_jansen.cpp.
b2RevoluteJoint* TheoJansen::m_motorJoint |
Definition at line 261 of file theo_jansen.cpp.
bool TheoJansen::m_motorOn |
Definition at line 262 of file theo_jansen.cpp.
float TheoJansen::m_motorSpeed |
Definition at line 263 of file theo_jansen.cpp.
b2Vec2 TheoJansen::m_offset |
Definition at line 258 of file theo_jansen.cpp.
b2Body* TheoJansen::m_wheel |
Definition at line 260 of file theo_jansen.cpp.