- DebugViewer - Class in city.cs.engine
-
A window containing an internal view of a world for debugging.
- DebugViewer(World, int, int) - Constructor for class city.cs.engine.DebugViewer
-
Initialize a debug viewer.
- DEFAULT_FRAME_RATE - Static variable in class city.cs.engine.SimulationSettings
-
- DEFAULT_GRAVITY - Static variable in class city.cs.engine.World
-
Default strength of gravity in metres per second per second.
- DEFAULT_HEIGHT - Static variable in class city.cs.engine.BodyImage
-
Default height of an image: 1 metre.
- DEFAULT_POSITION_ITERATIONS - Static variable in class city.cs.engine.SimulationSettings
-
- DEFAULT_SIMULATION_RATE - Static variable in class city.cs.engine.SimulationSettings
-
- DEFAULT_VELOCITY_ITERATIONS - Static variable in class city.cs.engine.SimulationSettings
-
- destroy() - Method in class city.cs.engine.Body
-
- destroy(DestructionEvent) - Method in interface city.cs.engine.DestructionListener
-
Be informed of and respond to destruction of a body.
- destroy() - Method in class city.cs.engine.Fixture
-
Remove this fixture from the parent body and the world.
- destroy() - Method in class city.cs.engine.Walker
-
- DestructionEvent - Class in city.cs.engine
-
Event object describing the destruction of a
Body
.
- DestructionEvent(Body) - Constructor for class city.cs.engine.DestructionEvent
-
Initialise a new DestructionEvent object.
- DestructionListener - Interface in city.cs.engine
-
Listener interface for additional actions in response to destruction of a body.
- dot(Vec2, Vec2) - Static method in class org.jbox2d.common.Vec2
-
The dot product of two vectors.
- DynamicBody - Class in city.cs.engine
-
A dynamic body moves, rotates and collides with other bodies according
to the laws of physics.
- DynamicBody(World) - Constructor for class city.cs.engine.DynamicBody
-
Initialise a new dynamic Body with no shapes attached.
- DynamicBody(World, Shape) - Constructor for class city.cs.engine.DynamicBody
-
Initialise a new dynamic Body with a single shape attached.