1$#include "Navigation/OffMeshConnection.h" 2 3class OffMeshConnection : public Component 4{ 5 void SetEndPoint(Node* node); 6 void SetRadius(float radius); 7 void SetBidirectional(bool enabled); 8 void SetMask(unsigned newMask); 9 void SetAreaID(unsigned newAreaID); 10 11 Node* GetEndPoint() const; 12 float GetRadius() const; 13 bool IsBidirectional() const; 14 unsigned GetMask() const; 15 unsigned GetAreaID() const; 16 17 tolua_property__get_set Node* endPoint; 18 tolua_property__get_set float radius; 19 tolua_property__is_set bool bidirectional; 20 tolua_property__get_set unsigned mask; 21 tolua_property__get_set unsigned areaID; 22}; 23