create world example first

This commit is contained in:
SelfDevTv 2024-05-27 22:04:38 +02:00
parent 3f79d72560
commit f6704d8451

View file

@ -145,6 +145,10 @@ Concord.utils.loadNamespace("path/to/systems", Systems)
print(Systems.systemName)
-- Registers the loaded systems. Either with a for loop for automatic registering, or manually (you can choose the order)
-- Create World first, also see:
[Worlds](#worlds)
local myWorld = Concord.world()
--for loop
for _, system in pairs(Systems) do
world:addSystem(system)