mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-22 07:56:52 -06:00
Remove dependency on IDs in Systems and Entities.
This allows Systems to be reused in multiple worlds. Fix a few bugs. Remove World:change(...)
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ local moves = System(
|
||||
amove
|
||||
)
|
||||
|
||||
local world = World(moves)
|
||||
local world = World(moves, System(nil, nil, aall))
|
||||
|
||||
world:add(e1, e2, e3)
|
||||
world:update(21)
|
||||
|
||||
Reference in New Issue
Block a user