// // Lol Engine // // Copyright: (c) 2010-2013 Sam Hocevar // This program is free software; you can redistribute it and/or // modify it under the terms of the Do What The Fuck You Want To // Public License, Version 2, as published by Sam Hocevar. See // http://www.wtfpl.net/ for more details. // #include #include #include #include namespace lol { /* * World implementation class */ class WorldData { friend class World; lua_State *m_lua_state; }; static WorldData g_world_data; World g_world; /* * Public World class */ World::World() : LuaLoader() { g_world_data.m_lua_state = GetLuaState(); } World::~World() { } } /* namespace lol */