public SRopeIdle(IRope rope, int height) { this.Rope = rope; this.height = height; SetHitbox(); }
public void AddRope(IRope rope) { if (_ropes.TryGetValue(rope.Player, out Dictionary <int, IRope> playerRopes)) { playerRopes.Add(rope.ID, rope); } else { _ropes.Add(rope.Player, new Dictionary <int, IRope> { { rope.ID, rope } }); } }
private void Start() { StartSets(); rope = new Rope(lineRenderer, distanceJoint2D); }
public IRope Concatenate(IRope r) { rope_append((Rope)r); return(this); }
public RopeCollisionHandler(IRope rope) { this.subject = rope; }