From f889c9c20fc09f26eb8a70674c1d60181835c38a Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 25 Oct 2018 00:50:35 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E9=A1=B9=E7=9B=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lua/modules/core/je_lua_core.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lua/modules') 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; } -- cgit v1.1-26-g67d0