blackberry-gaming/GamePlay — pull request #149 by cculy (2012-02-14 23:12:56+00:00)
Title: Next cculy

Fixes issue where all references to a rigid body were not being removed properly.

Added a new draw function to SpriteBatch and added a boolean flag to two draw functions to allow specifying the destination position as the center of the quad (instead of the bottom left).
Fixes a memory leak in SpriteBatch.
Removed const-ness from PhysicsRigidBody::getNode() (allows users to modify the node in situations where the node is not already available, for example, from inside a collision listener).
Added isActive() function to ParticleEmitter (returns whether there are any active particles in the given emitter).
Changes ParticleEmitter to draw sprites using the destination position as the center (instead of the bottom left).