ConstraintGear2D.pkg 502 B

12345678910111213141516
  1. $#include "ConstraintGear2D.h"
  2. class ConstraintGear2D : Constraint2D
  3. {
  4. void SetOwnerConstraint(Constraint2D* constraint);
  5. void SetOtherConstraint(Constraint2D* constraint);
  6. void SetRatio(float ratio);
  7. Constraint2D* GetOwnerConstraint() const;
  8. Constraint2D* GetOtherConstraint() const;
  9. float GetRatio() const;
  10. tolua_property__get_set Constraint2D* ownerConstraint;
  11. tolua_property__get_set Constraint2D* otherConstraint;
  12. tolua_property__get_set float ratio;
  13. };