mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-21 23:56:50 -06:00
Start using LDoc for documentation.
Remove class system Fix various small bug
This commit is contained in:
+2
-2
@@ -97,7 +97,7 @@ describe('tiny-ecs:', function()
|
||||
)
|
||||
|
||||
local timePassed = 0
|
||||
local oneTimeSystem = tiny.emptySystem(
|
||||
local oneTimeSystem = tiny.system(
|
||||
function(dt)
|
||||
timePassed = timePassed + dt
|
||||
end
|
||||
@@ -107,7 +107,7 @@ describe('tiny-ecs:', function()
|
||||
entity1 = deep_copy(entityTemplate1)
|
||||
entity2 = deep_copy(entityTemplate2)
|
||||
entity3 = deep_copy(entityTemplate3)
|
||||
world = tiny.newWorld(moveSystem, oneTimeSystem, entity1, entity2, entity3)
|
||||
world = tiny.world(moveSystem, oneTimeSystem, entity1, entity2, entity3)
|
||||
timePassed = 0
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user