diff --git a/config.ld b/config.ld index aada8c2..a04aeaf 100644 --- a/config.ld +++ b/config.ld @@ -1,3 +1,3 @@ project = 'Concord' description = 'A feature-complete ECS library' -file = {'lib', exclude = {'lib/type.lua', 'lib/run.lua'}} \ No newline at end of file +file = {'src', exclude = {}} \ No newline at end of file diff --git a/src/assemblage.lua b/src/assemblage.lua index c2303f2..f989a63 100644 --- a/src/assemblage.lua +++ b/src/assemblage.lua @@ -21,7 +21,6 @@ function Assemblage.new(assemble) end --- Assembles an Entity. --- @see Entity:assemble -- @param e Entity to assemble -- @param ... Varargs to pass to the assemble function -- @ return self diff --git a/src/components.lua b/src/components.lua index 76780de..ba88c7e 100644 --- a/src/components.lua +++ b/src/components.lua @@ -1,4 +1,4 @@ --- Components +--- Components -- Container for registered ComponentClasss local PATH = (...):gsub('%.[^%.]+$', '') diff --git a/src/entity.lua b/src/entity.lua index c084039..cce5213 100644 --- a/src/entity.lua +++ b/src/entity.lua @@ -98,7 +98,6 @@ function Entity:remove(componentClass) end --- Assembles an Entity. --- @see Assemblage:assemble -- @param assemblage Assemblage to assemble with -- @param ... Varargs to pass to the Assemblage's assemble function. function Entity:assemble(assemblage, ...) diff --git a/src/init.lua b/src/init.lua index b373989..1f65695 100644 --- a/src/init.lua +++ b/src/init.lua @@ -85,7 +85,6 @@ end --- 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" ---@see Components function Concord.loadComponents(pathOrFiles) load(pathOrFiles, Concord.components) end @@ -93,7 +92,6 @@ end --- 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" ---@see Systems function Concord.loadSystems(pathOrFiles) load(pathOrFiles, Concord.systems) end @@ -101,7 +99,6 @@ end --- 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" ---@see Worlds function Concord.loadWorlds(pathOrFiles) load(pathOrFiles, Concord.worlds) end @@ -109,7 +106,6 @@ end --- 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" ---@see Assemblages function Concord.loadAssemblages(pathOrFiles) load(pathOrFiles, Concord.assemblages) end diff --git a/src/world.lua b/src/world.lua index a8c7953..fe6107e 100644 --- a/src/world.lua +++ b/src/world.lua @@ -77,7 +77,6 @@ function World:removeEntity(e) end --- Internal: Marks an Entity as dirty. --- @see Entity:__dirty -- @param e Entity to mark as dirty function World:__dirtyEntity(e) if not self.__dirty:has(e) then @@ -87,7 +86,6 @@ end --- Internal: Flushes all changes to Entities. -- This processes all entities. Adding and removing entities, as well as reevaluating dirty entities. --- @see System:__evaluate -- @return self function World:__flush() -- Early out