Screen, ScreenWithMenuElements bindings

This commit is contained in:
Glenn Maynard
2005-07-12 05:44:54 +00:00
parent 58178ad258
commit 4a416d34d0
4 changed files with 44 additions and 0 deletions
+17
View File
@@ -269,6 +269,23 @@ void ScreenWithMenuElements::UpdateStage()
m_sprStage[s]->SetHidden( s != GAMESTATE->GetCurrentStage() );
}
// lua start
#include "LuaBinding.h"
class LunaScreenWithMenuElements: public Luna<ScreenWithMenuElements>
{
public:
LunaScreenWithMenuElements() { LUA->Register( Register ); }
static void Register( Lua *L )
{
Luna<T>::Register( L );
}
};
LUA_REGISTER_DERIVED_CLASS( ScreenWithMenuElements, Screen )
// lua end
/*
* (c) 2004 Chris Danford
* All rights reserved.