]> code.bitgloo.com Git - clyne/gamedev2.git/commit
Lua spawned entities have "Idle" function
authorAndy Belle-Isle <drumsetmonkey@gmail.com>
Sat, 31 Aug 2019 04:40:21 +0000 (00:40 -0400)
committerAndy Belle-Isle <drumsetmonkey@gmail.com>
Sat, 31 Aug 2019 04:40:21 +0000 (00:40 -0400)
commit4eeacc60cab3d6cb070bcd19a5259b7a95832a1d
tree7e26aea1b95dec5bb5bfaf4749cba0b71dd06cf9
parent3a5718d4ab0d9f726686c601579a4c586a65e269
Lua spawned entities have "Idle" function
Every entity spawned from Lua is given the "Scripted" component,
this component holds onto the Entities master table and it's idle
function
Scripts/init.lua
src/components/IdleFunc.hpp [deleted file]
src/components/Script.hpp [new file with mode: 0644]
src/engine.cpp
src/script.cpp