Function chaining for actors and singletons.

This commit is contained in:
Kyzentun
2014-12-01 22:31:30 -07:00
parent 3b36858cf8
commit 4f95bf08ad
59 changed files with 475 additions and 423 deletions
+2 -2
View File
@@ -50,13 +50,13 @@ public:
static int Load( T* p, lua_State *L )
{
p->Load( SArg(1) );
return 0;
COMMON_RETURN_SELF;
}
static int SetGrade( T* p, lua_State *L )
{
Grade g = Enum::Check<Grade>(L, 1);
p->SetGrade( g );
return 0;
COMMON_RETURN_SELF;
}
LunaGradeDisplay()