Skip to content
ConcordConcordConcord

System.new

Creates a new SystemClass. The return value is a class; the World constructs instances when the class is added.

← System

Creates a new SystemClass. The return value is a class; the World constructs instances when the class is added.

Reject components in filter lists with the ! prefix or Components.reject (same rules as FilterDefinition).

system = System.new( name, definition )
Name Type Description
name string Name of the System. If the first argument is not a string, it is treated as the definition.
definition table<string, FilterDefinition> Map of pool names to filter definitions (component names, optional ! reject entries)
Name Type Description
system SystemClass

system = System.new( definition )
Name Type Description
definition table<string, FilterDefinition> Map of pool names to filter definitions (component names, optional ! reject entries)
Name Type Description
system SystemClass