jecs/demo/src/ServerScriptService/main.server.luau
Marcus a73eeb1a4f
Demo (#96)
* Fix query types

* Add systems to demo

* Remove comments of inlined versions

* Fix style

* Replication

* Test :iter
2024-08-07 18:45:56 +02:00

4 lines
232 B
Text

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local std = require(ReplicatedStorage.std)
local loop = std.Scheduler(unpack(script.Parent.systems:GetChildren()))
game:GetService("RunService").Heartbeat:Connect(loop)