Remove use of systemData - instead, Systems now have mutable data.

This removes a level of indirection and prevents passing around of entities.
This commit is contained in:
bakpakin
2015-05-04 09:09:34 +08:00
parent 5e7d2ea7fc
commit 9991ff7474
2 changed files with 40 additions and 58 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ describe('tiny-ecs:', function()
local timePassed = 0
local oneTimeSystem = tiny.system()
function oneTimeSystem:update(entities, dt)
function oneTimeSystem:update(dt)
timePassed = timePassed + dt
end