Module init
init
Functions
Concord.loadComponents (pathOrFiles) | Loads ComponentClasses and puts them in the Components container. |
Concord.loadSystems (pathOrFiles) | Loads SystemClasses and puts them in the Systems container. |
Concord.loadWorlds (pathOrFiles) | Loads Worlds and puts them in the Worlds container. |
Concord.loadAssemblages (pathOrFiles) | Loads Assemblages and puts them in the Assemblages container. |
Functions
- Concord.loadComponents (pathOrFiles)
-
Loads ComponentClasses and puts them in the Components container.
Accepts a table of paths to files: {"component_1", "component_2", "etc"}
Accepts a path to a directory with ComponentClasses: "components"
Parameters:
- pathOrFiles
- Concord.loadSystems (pathOrFiles)
-
Loads SystemClasses and puts them in the Systems container.
Accepts a table of paths to files: {"system_1", "system_2", "etc"}
Accepts a path to a directory with SystemClasses: "systems"
Parameters:
- pathOrFiles
- Concord.loadWorlds (pathOrFiles)
-
Loads Worlds and puts them in the Worlds container.
Accepts a table of paths to files: {"world_1", "world_2", "etc"}
Accepts a path to a directory with Worlds: "worlds"
Parameters:
- pathOrFiles
- Concord.loadAssemblages (pathOrFiles)
-
Loads Assemblages and puts them in the Assemblages container.
Accepts a table of paths to files: {"assemblage_1", "assemblage_2", "etc"}
Accepts a path to a directory with Assemblages: "assemblages"
Parameters:
- pathOrFiles