- $#include "Constraint2D.h"
- class Constraint2D : Component
- {
- void SetOtherBody(RigidBody2D* body);
- void SetCollideConnected(bool collideConnected);
- RigidBody2D* GetOwnerBody() const;
- RigidBody2D* GetOtherBody() const;
- bool GetCollideConnected() const;
- tolua_readonly tolua_property__get_set RigidBody2D* ownerBody;
- tolua_property__get_set RigidBody2D* otherBody;
- tolua_property__get_set bool collideConnected;
- };
|