Esempio n. 1
0
 @Override
 public B2FlxRopeJoint setAnchorB(Vector2 anchorB) {
   ((RopeJointDef) jointDef).localAnchorB.set(anchorB);
   return this;
 }
Esempio 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;
 }