diff options
author | chai <chaifix@163.com> | 2018-10-25 00:50:35 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-25 00:50:35 +0800 |
commit | f889c9c20fc09f26eb8a70674c1d60181835c38a (patch) | |
tree | 4c5a994a8494595b6a94c1ac135d1e0646ac621d /src/lua/modules | |
parent | d8d7963b9b658799b806d516bbd6b44c4baa28f8 (diff) |
*修改项目结构
Diffstat (limited to 'src/lua/modules')
-rw-r--r-- | src/lua/modules/core/je_lua_core.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lua/modules/core/je_lua_core.cpp b/src/lua/modules/core/je_lua_core.cpp index a576bec..1b7d762 100644 --- a/src/lua/modules/core/je_lua_core.cpp +++ b/src/lua/modules/core/je_lua_core.cpp @@ -6,11 +6,11 @@ namespace JinEngine namespace Lua { - using namespace JinEngine::Core; + using namespace JinEngine::Game; static int l_running(lua_State* L) { - static Game* game = Game::get(); + static Application* game = Application::get(); bool running = game->running(); luax_pushboolean(L, running); return 1; @@ -18,13 +18,13 @@ namespace JinEngine static int l_stop(lua_State* L) { - Game::get()->stop(); + Application::get()->stop(); return 0; } static int l_quit(lua_State* L) { - Game::get()->quit(); + Application::get()->quit(); return 0; } |