integrating box2d into game