/** Handles anchoring the first and last pieces of the bridge
* to the world versus to other bridge pieces
*/
private void CreateEndJoint(World world, bool leftEnd)
{
RevoluteJointDef joint = new RevoluteJointDef();
Vector2 anchor = Position - new Vector2(width/2, 0);
if (!leftEnd)
anchor = Position + new Vector2(width / 2, 0);
joint.Initialize(Body, world.GetGroundBody(), Utils.Convert(anchor));
world.CreateJoint(joint);
}