file: World.aus

class: World

[20:7] extends: FxObj

Wraps jbox2d's World (com.almasb.fxgl.physics.box2d.dynamics.World), the underlying physics simulation. FXGL wires a single World per game via PhysicsWorld.getJBox2DWorld(), which the engine already steps for you — direct World use is an escape hatch for advanced setups (custom joints, manual stepping, custom contact listeners / filters, low-level body management).

Methods