class

ECS::Systems

Inherits ECS::System / Reference / Object

Group of systems to process EcsWorld instance. You can add Systems to Systems to create hierarchy. You can either create Systems directly or (preferred way) inherit from ECS::Systems to add systems in initialize

Constructors

new(world : World)

creates empty Systems group. This method should be overriden in children to automatically add systems.

Source

Instance methods

add(sys : System)

Adds system to a group

Source
add(sys : System.class)

Creates system of given class and adds it to a group

Source
children

List of systems in a group. This list must not be modified directly. Instead, use #add to add systems to it and ECS::System#active to disable systems

Source
execute

calls preprocess, process and execute for all active children

Source
init

calls init for all children systems also initializes filters for children systems

Source
remove_singleframe(typ)

Adds RemoveAllOf instance for specified component type

Source
teardown

calls teardown for all children systems

Source