aboutsummaryrefslogtreecommitdiff
path: root/src/lua/embed/scripts/ai.lua.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-20 18:34:50 +0800
committerchai <chaifix@163.com>2018-12-20 18:34:50 +0800
commitee8ef0433e36bf354a717bd4af679a0a5af2e6be (patch)
tree2fc748510200f8bc24928d1938300eecc0604deb /src/lua/embed/scripts/ai.lua.h
parent7ae40127f15f8f2cb963a7efeb018f7887ebc1ea (diff)
*修改文件结构
Diffstat (limited to 'src/lua/embed/scripts/ai.lua.h')
-rw-r--r--src/lua/embed/scripts/ai.lua.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/lua/embed/scripts/ai.lua.h b/src/lua/embed/scripts/ai.lua.h
deleted file mode 100644
index a69da84..0000000
--- a/src/lua/embed/scripts/ai.lua.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* graphics.lua */
-static const char* ai_lua = R"(
-jin.ai = jin.ai or {}
-
-local ja = jin.ai
-
-ja.StateMachineType = {
- STEPWISE = 1,
- ITERATIVE = 2,
-}
-
-
-
-)";
-
-
-//local sp = jin.graphics.newSprite()
-//local sm = jin.ai.newStateMachine(jin.StateMachineMode.STEPWISE, sp)
-//sm:addState("run")
-//sm:addEnterCallback("run", function(spr)
-// spr:setRun()
-//end)
-//
-//function jin.core.onUpdate(dt)
-// sm:update()
-//end