Skip to content

Commit

Permalink
Add OnDeleteTarget (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukendio authored Aug 16, 2024
1 parent 461c3f6 commit 6d45af9
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 105 deletions.
1 change: 0 additions & 1 deletion demo/src/ReplicatedStorage/std/init.luau
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
local jecs = require(game:GetService("ReplicatedStorage").ecs)
local world = require(script.world)
export type World = world.World

local std = {
ChangeTracker = require(script.changetracker),
Expand Down
2 changes: 1 addition & 1 deletion demo/src/ReplicatedStorage/std/world.luau
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local jecs = require(game:GetService("ReplicatedStorage").ecs)
export type World = jecs.WorldShim
export type World = jecs.t_world

-- I like the idea of only having the world be a singleton.
return jecs.World.new()
Loading

0 comments on commit 6d45af9

Please sign in to comment.