Fields

@:optionaloptionaly:Null<Float>

The World's position on the Y axis.

@:optionaloptionalx:Null<Float>

The World's position on the X axis.

width:Float

Width of the World, extending right from the World's X position.

@:optionaloptionalmembers:Null<Array<Body>>

@:optionaloptionallisteners:Null<Array<Listener>>

@:optionaloptionaliterations:Null<Int>

The amount of iterations that occur each time the World is stepped. The higher the number, the more stable the Physics Simulation will be, at the cost of performance.

@:optionaloptionalhistory:Null<Int>

The number of states to preserve in the World's history.

height:Float

Height of the World, extending down from the World's Y position.

@:optionaloptionalgravity_y:Null<Float>

The amount of acceleration on the Y axis applied to each Body member every Step.

@:optionaloptionalgravity_x:Null<Float>

The amount of acceleration on the X axis applied to each Body member every Step.