add binding for SetName
This commit is contained in:
@@ -1253,6 +1253,7 @@ Actor::TweenInfo &Actor::TweenInfo::operator=( const TweenInfo &rhs )
|
||||
class LunaActor : public Luna<Actor>
|
||||
{
|
||||
public:
|
||||
static int name( T* p, lua_State *L ) { p->SetName(SArg(1)); return 0; }
|
||||
static int sleep( T* p, lua_State *L ) { p->Sleep(FArg(1)); return 0; }
|
||||
static int linear( T* p, lua_State *L ) { p->BeginTweening(FArg(1),TWEEN_LINEAR); return 0; }
|
||||
static int accelerate( T* p, lua_State *L ) { p->BeginTweening(FArg(1),TWEEN_ACCELERATE); return 0; }
|
||||
@@ -1462,6 +1463,7 @@ public:
|
||||
|
||||
LunaActor()
|
||||
{
|
||||
ADD_METHOD( name );
|
||||
ADD_METHOD( sleep );
|
||||
ADD_METHOD( linear );
|
||||
ADD_METHOD( accelerate );
|
||||
|
||||
Reference in New Issue
Block a user