Ejemplo n.º 1
0
 @Override
 public void dispose() {
   if (motionState != null) motionState.release();
   motionState = null;
   if (collisionShape != null) collisionShape.release();
   collisionShape = null;
   super.dispose();
 }
Ejemplo n.º 2
0
 @Override
 public void dispose() {
   if (motionState != null) motionState.release();
   motionState = null;
   super.dispose();
 }