diff options
author | Andy <drumsetmonkey@gmail.com> | 2019-08-30 11:01:15 -0400 |
---|---|---|
committer | Andy <drumsetmonkey@gmail.com> | 2019-08-30 11:01:15 -0400 |
commit | 3a5718d4ab0d9f726686c601579a4c586a65e269 (patch) | |
tree | 2c67002feac01a20b4f98d11dfd77341eda66278 /Scripts | |
parent | 9fe9b81f9a36c6333ef0dd66d5ec249bd07368c7 (diff) |
Added IdleFunc components to entities, this will be assigned to all entities no matter what, even if the idle func is empty
Diffstat (limited to 'Scripts')
-rw-r--r-- | Scripts/init.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Scripts/init.lua b/Scripts/init.lua index 3ec4618..851c180 100644 --- a/Scripts/init.lua +++ b/Scripts/init.lua @@ -1,15 +1,3 @@ ---Player = entityx.manager:new() ---function Player:init(o) --- o = o or {} --- self.position = self:component("Position", o.position or {0, 0}) ---end --- ---p = Player:instance({position = {10, 20}}) ---p.position.x(5) ---print(p.position.x(), p.position.y()) - ---p = comp:Position(6.5, 2.3) - bird = { Position = { x = 1.2, |