Package | Description |
---|---|
city.cs.engine |
Simple wrapper around the JBox2D physics engine.
|
Modifier and Type | Class and Description |
---|---|
class |
BoxShape
A solid rectangular shape, to be used as the shape of a
Fixture . |
class |
CircleShape
A solid circle shape, to be used as the shape of a
Fixture . |
class |
PolygonShape
A solid convex polygonal shape, to be used as the shape of a
Fixture . |
Constructor and Description |
---|
DynamicBody(World w,
Shape s)
Initialise a new dynamic Body with a single shape attached.
|
GhostlyFixture(Body body,
Shape shape)
Create a ghostly fixture from a shape.
|
GhostlyFixture(Body body,
Shape shape,
float density)
Create a ghostly fixture from a shape.
|
Sensor(Body body,
Shape shape)
Create a sensor from a shape.
|
Sensor(Body body,
Shape shape,
float density)
Create a sensor from a shape.
|
SolidFixture(Body body,
Shape shape)
Create a fixture from a shape.
|
SolidFixture(Body body,
Shape shape,
float density)
Create a fixture from a shape.
|
StaticBody(World w,
Shape s)
Initialise a new static body with a single shape attached.
|
Walker(World world,
Shape shape)
Initialise a new dynamic Walker with a single shape attached.
|