#include <physics_context.h>
Public Member Functions | |
Construction | |
| PhysicsContext () | |
| Constructs a null instance. More... | |
| PhysicsContext (PhysicsWorld &pw) | |
| Constructs a PhysicsContext. More... | |
Attributes | |
| bool | is_null () const |
| Returns true if this object is invalid. More... | |
| int | max_bodies () const |
| Returns maximum amount of bodies allowed. More... | |
| int | max_fixtures () const |
| Returns maximum amount of fixtures allowed. More... | |
| int | max_joints () const |
| Returns maximum amount of joints allowed. More... | |
| Body | get_body (int id) |
| Returns the Body of the given id. If the id is invalid returns a dummy Body instead. More... | |
| Fixture | get_fixture (int id) |
| Returns the Fixture of the given id. If the id is invalid returns a dummy Fixture instead. More... | |
| Joint | get_joint (int id) |
| Returns the joint of the given id. If the id is invalid returns a dummy joint instead. More... | |
Friends | |
| class | Body |
| class | BodyDescription |
| class | ChainShape |
| class | CircleShape |
| class | DistanceJoint |
| class | EdgeShape |
| class | Fixture |
| class | FixtureDescription |
| class | Joint |
| class | MouseJoint |
| class | PhysicsContext_Impl |
| class | PhysicsWorld |
| class | PhysicsWorld_Impl |
| class | PolygonShape |
| class | PrismaticJoint |
| class | RevoluteJoint |