AllFailed binding

This commit is contained in:
Glenn Maynard
2005-07-12 22:35:48 +00:00
parent e5d72baba2
commit 7d99ae8022
+2
View File
@@ -112,11 +112,13 @@ public:
static int GetPlayerStageStats( T* p, lua_State *L ) { p->m_player[IArg(1)].PushSelf(L); return 1; }
static int GetGameplaySeconds( T* p, lua_State *L ) { lua_pushnumber(L, p->fGameplaySeconds); return 1; }
static int AllFailed( T* p, lua_State *L ) { lua_pushboolean(L, p->AllFailed()); return 1; }
static void Register(lua_State *L)
{
ADD_METHOD( GetPlayerStageStats )
ADD_METHOD( GetGameplaySeconds )
ADD_METHOD( AllFailed )
Luna<T>::Register( L );
}
};