public class ColliderFactory
{
public Collider createCollider(Body paramBody1, Body paramBody2)
throws ColliderUnavailableException
{
Shape localShape1 = paramBody1.getShape();
Shape localShape2 = paramBody2.getShape();
if ((localShape1 instanceof Circle))
return createColliderFor((Circle)localShape1, localShape2);
if ((localShape1 instanceof Box))
return createColliderFor((Box)localShape1, localShape2);
if ((localShape1 instanceof Line))