1$#include "Urho2D/ConstraintWheel2D.h"
2
3class ConstraintWheel2D : Constraint2D
4{
5    void SetAnchor(const Vector2& anchor);
6    void SetAxis(const Vector2& axis);
7    void SetEnableMotor(bool enableMotor);
8    void SetMaxMotorTorque(float maxMotorTorque);
9    void SetMotorSpeed(float motorSpeed);
10    void SetFrequencyHz(float frequencyHz);
11    void SetDampingRatio(float dampingRatio);
12
13    const Vector2& GetAnchor() const;
14    const Vector2& GetAxis() const;
15    bool GetEnableMotor() const;
16    float GetMaxMotorTorque() const;
17    float GetMotorSpeed() const;
18    float GetFrequencyHz() const;
19    float GetDampingRatio() const;
20
21    tolua_property__get_set Vector2& anchor;
22    tolua_property__get_set Vector2& axis;
23    tolua_property__get_set bool enableMotor;
24    tolua_property__get_set float maxMotorTorque;
25    tolua_property__get_set float motorSpeed;
26    tolua_property__get_set float frequencyHz;
27    tolua_property__get_set float dampingRatio;
28};
29