Box2D

 view release on metacpan or  search on metacpan

lib/pods/Box2D/b2World.pod  view on Meta::CPAN


Box2D::b2World - Manages all aspects of the simulation.

=head1 SYNOPSIS

  my $world = Box2D::b2World->new( $gravity, $doSleep );

=head1 DESCRIPTION

The C<Box2D::b2World> class contains the bodies and joints. It manages
all aspects of the simulation and allows for asynchronous queries (like
AABB queries and ray-casts). Much of your interactions with Box2D will
be with a C<Box2D::b2World> object.

=head1 METHODS

=head2 new( $gravity, $doSleep )

Construct a world object.

Parameters:



( run in 0.242 second using v1.01-cache-2.11-cpan-0d8aa00de5b )