LPCGame
A Simple 2d Game Engine
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
luacstate.h
1 #ifndef LUACSTATE_H
2 #define LUACSTATE_H
3 
4 #include <string>
5 #include <lua.hpp>
6 
8 
12 namespace LuaC {
14  const std::string stateClass = "State";
19  class StateLib {
20  public:
22  static int luaopen_state(lua_State *l);
23 
24  private:
26  static const luaL_reg luaStateLib[];
28  static int getEntity(lua_State *l);
29  static int setExit(lua_State *l);
30  static int getName(lua_State *l);
31  };
32 }
33 
34 #endif