mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
Keep export world
This commit is contained in:
parent
c0b710d2c2
commit
ab3f44004f
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ local function onNotifyAdd(world, archetype, otherArchetype, row: number, added:
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
type World = typeof(World.new())
|
export type World = typeof(World.new())
|
||||||
|
|
||||||
local function ensureArchetype(world: World, types, prev)
|
local function ensureArchetype(world: World, types, prev)
|
||||||
if #types < 1 then
|
if #types < 1 then
|
||||||
|
@ -581,4 +581,4 @@ return table.freeze({
|
||||||
ON_ADD = ON_ADD,
|
ON_ADD = ON_ADD,
|
||||||
ON_REMOVE = ON_REMOVE,
|
ON_REMOVE = ON_REMOVE,
|
||||||
ON_SET = ON_SET
|
ON_SET = ON_SET
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue