ConstraintRope2D.pkg 500 B

12345678910111213141516
  1. $#include "ConstraintRope2D.h"
  2. class ConstraintRope2D : Constraint2D
  3. {
  4. void SetOwnerBodyAnchor(const Vector2& anchor);
  5. void SetOtherBodyAnchor(const Vector2& anchor);
  6. void SetMaxLength(float maxLength);
  7. const Vector2& GetOwnerBodyAnchor() const;
  8. const Vector2& GetOtherBodyAnchor() const;
  9. float GetMaxLength() const;
  10. tolua_property__get_set Vector2& ownerBodyAnchor;
  11. tolua_property__get_set Vector2& otherBodyAnchor;
  12. tolua_property__get_set float maxLength;
  13. };