[Screen] add GetScreenType() Lua binding.

This commit is contained in:
AJ Kelly
2010-06-10 14:26:56 -05:00
parent e696f84e10
commit 77e17dae2b
2 changed files with 17 additions and 1 deletions
+6 -1
View File
@@ -11,6 +11,7 @@
#include "InputQueue.h"
#include "CodeSet.h"
#include "LightsManager.h"
#include "EnumHelper.h"
class InputEventPlus;
class Screen;
@@ -26,8 +27,12 @@ enum ScreenType
attract,
game_menu,
gameplay,
system_menu
system_menu,
NUM_ScreenType,
ScreenType_Invalid
};
const RString& ScreenTypeToString( ScreenType st );
LuaDeclareType( ScreenType );
class Screen : public ActorFrame
{