ECS::RemoveAllOf
Inherits ECS::System / Reference / Object
This system deletes all components of specified type during execute.
This is a recommended way of deleting SingleFrame components,
as library can detect if such system exists and raise exception if it doesn't.
Example:
systems.add(ECS::RemoveAllOf.new(@world, Component1))`
or use a shortcut:
systems.remove_singleframe(Component1)
Constructors
new(world, typ : ::ECS::Component.class)
creates a system for a given world and components of type typ