class Input::EventSystem::Destroyed::Listener
- Input::EventSystem::Destroyed::Listener
- Entitas::ReactiveSystem
- Reference
- Object
Defined in:
Constructors
- .new(collector : Entitas::Collector, filter : Proc(Entitas::IEntity, Bool)) : Input::EventSystem::Destroyed::Listener
- .new(context : Entitas::Context, filter : Proc(Entitas::IEntity, Bool)) : Input::EventSystem::Destroyed::Listener
- .new(context : Entitas::Context) : Input::EventSystem::Destroyed::Listener
- .new(contexts : Contexts)
Instance Method Summary
- #execute(entities : Array(Entitas::IEntity))
- #filter(entity : InputEntity)
-
#get_trigger(context : Entitas::Context) : Entitas::ICollector
Specify the collector that will trigger the ReactiveSystem.
Constructor Detail
def self.new(collector : Entitas::Collector, filter : Proc(Entitas::IEntity, Bool)) : Input::EventSystem::Destroyed::Listener
#
def self.new(context : Entitas::Context, filter : Proc(Entitas::IEntity, Bool)) : Input::EventSystem::Destroyed::Listener
#
Instance Method Detail
def get_trigger(context : Entitas::Context) : Entitas::ICollector
#
Description copied from class Entitas::ReactiveSystem
Specify the collector that will trigger the ReactiveSystem.