blob: ac41c94fde6791de0efbefa68cfe3d83702f77f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "InputEvent.h"
void InputEvent::CastToTable(LuaBind::State& state)
{
lua_newtable(state);
int table = state.GetTop();
lua_pushnumber(state, type);
lua_setfield(state, table, "type");
}
|