Type
World
A World is a container object for the bodies and joints. It also represents the actual space the objects reside in, eg. the World has size and gravity properties.

You can use several Worlds, but only objects in the same World can interact with eachother.
Functions
update( dt ) Updates the state of the objects in the World.
setGravity( x, y ) Sets the gravity.
getGravity( ) Gets the gravity.
setCallback( f ) Sets the collision callback.
getCallback( ) Gets the collision callback.
getBodyCount( ) Gets the number of Bodies in the World.
getJointCount( ) Gets the number of joints in the World.
Copyright © 2006-2008 LÖVE Development Team.