Ejemplo n.º 1
0
 @Override
 public B2FlxRopeJoint setAnchorB(Vector2 anchorB) {
   ((RopeJointDef) jointDef).localAnchorB.set(anchorB);
   return this;
 }
Ejemplo n.º 2
0
 /** Set the defaults. The line will be drawn. */
 @Override
 protected void setDefaults() {
   ((RopeJointDef) jointDef).localAnchorA.set(new Vector2());
   ((RopeJointDef) jointDef).localAnchorB.set(new Vector2());
   showLine = true;
 }