All Classes and Interfaces

Class
Description
A Box2DSprite using an AnimatedSprite for animation.
Parses MapObjects from a Map and generates Box2D Bodies, Fixtures and Joints from them.
Just create a new Box2DMapObjectParser and call Box2DMapObjectParser.load(World, MapLayer) to load all compatible objects (defined by the the Box2DMapObjectParser.aliases) into your World.

If you only want specific Fixtures or Bodies, you can use the Box2DMapObjectParser.createBody(World, MapObject) and Box2DMapObjectParser.createFixture(MapObject) methods.

How you define compatible objects in the TiledMap editor:
In your object layer, right-click an object and set its properties to those of the Body/Fixture/both (in case you're creating an object) you'd like, as defined in the used Box2DMapObjectParser.Aliases object.
For type, you have to choose Box2DMapObjectParser.Aliases.body, Box2DMapObjectParser.Aliases.fixture or Box2DMapObjectParser.Aliases.object.
To add Fixtures to a Body, add a Box2DMapObjectParser.Aliases.body property with the same value to each Fixture of a Body.
To create Joints, add any object to the layer and just put everything needed in its properties.
defines the Box2DMapObjectParser.aliases to use when parsing
Allows modification of MapObjects before they are used to create Box2D objects.
Note that the map object given to you is the one directly from the map, so if you modify it, you modify the Map instance! If you want to avoid that, make a copy.
Also listens to Box2D objects that have been created.
Does nothing.
A Box2DPolygonSprite is a PolygonSprite with additional drawing information and the ability to draw itself on a given Body or Fixture.
A Box2DSprite is a Sprite with additional drawing information and the ability to draw itself on a given Body or Fixture.
Placed in this package to have access to the protected addr fields.
provides methods for operations with Box2D Bodies, Fixtures and Shapes
checks if Box2D's preconditions are met to avoid native crashes
indicates that a ChainShape cannot be created from this polyline
the reason why this ChainShape cannot be created
indicates that a PolygonShape cannot be created from this polygon
the reason this shape is invalid
indicates that a poly shape cannot be created from these vertices
b2Settings.h
cached method results
Breaks bodies or fixtures if they get hit too hard.
a callback for a Breakable if its container (body or fixture) was destroyed (for example to play a sound)
Returns false in all methods implemented from Breakable.Callback.
Manages the Breakables of the Contacts it receives.
Holds Chain.segments and Chain.connections to simulate a chain.
used by a Chain to modify it
holds one or more joints
a Chain.Builder that builds using a BodyDef, FixtureDef and Joint
A Chain.Builder that builds using a BodyDef, JointDef and Shape.
Override this if you only want to use a subset of methods of the ContactListener.
a ContactListener that sends Contacts to an Array of ContactListeners
an InputAdapter managing a MouseJoint
Does nothing and returns false.
moves a body to a position using forces
the derivative control loop component
the proportional control loop component
a proportional-derivative controller
rotates a body to an angle using torque
the derivative control loop component
the proportional control loop component
a proportional-derivative controller
Notifies a WorldObserver.Listener of changes in the world.
the changes of a Body
the changes of an object in a world since the last time WorldObserver.Change.update(Object) was called
the changes of a DistanceJoint
the changes of a Fixture
the changes of a FrictionJoint
the changes of a GearJoint
the changes of a Joint
the listener notified by a WorldObserver
A class that implements Listener.
the changes of a MotorJoint
the changes of a MouseJoint
the changes of a PrismaticJoint
the changes of a RevoluteJoint
the changes of a RopeJoint
A Listener that calls another Listener on unpredictable/unexpected events.
the changes of a WeldJoint
the changes of a WheelJoint
the changes of a World