diff options
author | chai <chaifix@163.com> | 2018-12-22 13:45:32 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-22 13:45:32 +0800 |
commit | df70a616f58aa51ff6375a824fc18cbbc369e43b (patch) | |
tree | b519fdfb2ae07de3d8dd2d08afdb7efe65457d7b /src/libjin-lua/je_lua_embed.h | |
parent | 8422546ca0524e9d1f96b858d0f914fe9e6e9bff (diff) |
+statemachine
Diffstat (limited to 'src/libjin-lua/je_lua_embed.h')
-rw-r--r-- | src/libjin-lua/je_lua_embed.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/libjin-lua/je_lua_embed.h b/src/libjin-lua/je_lua_embed.h index a14af5e..ba3945f 100644 --- a/src/libjin-lua/je_lua_embed.h +++ b/src/libjin-lua/je_lua_embed.h @@ -16,6 +16,7 @@ namespace JinEngine }; // Embed scripts. + #include "scripts/ai/state_machine.lua.h" #include "scripts/graphics/graphics.lua.h" #include "scripts/keyboard/keyboard.lua.h" #include "scripts/mouse/mouse.lua.h" @@ -24,11 +25,14 @@ namespace JinEngine // In order. static const jin_Embed modules[] = { - { "keyboard.lua", keyboard_lua }, - { "mouse.lua", mouse_lua }, - { "graphics.lua", graphics_lua }, - { "path.lua", path_lua }, - { 0, 0 } + // ai + { "state_machine.lua", state_machine_lua }, + // keyboard + { "keyboard.lua", keyboard_lua }, + { "mouse.lua", mouse_lua }, + { "graphics.lua", graphics_lua }, + { "path.lua", path_lua }, + { 0, 0 } }; static const jin_Embed bootscript = { "app.lua", app_lua }; |