class Oid::Systems::HiddenManger

Included Modules

Defined in:

oid/systems/stage/hidden_manager.cr

Constructors

Instance Method Summary

Instance methods inherited from module Oid::EventListener

register_listeners(entity : Entitas::IEntity) register_listeners

Instance methods inherited from module Oid::Components::Hidden::RemovedListener

on_hidden_removed(entity) on_hidden_removed

Instance methods inherited from module Oid::Components::Hidden::Listener

on_hidden(entity, component : Oid::Components::Hidden) on_hidden

Instance methods inherited from module Oid::Services::Helper

application_service : Oid::Service::Application application_service, camera_service : Oid::Service::Camera camera_service, config_service : Oid::Service::Config config_service, contexts : Contexts contexts, input_service : Oid::Service::Input input_service, logger_service : Oid::Service::Logger logger_service, time_service : Oid::Service::Time time_service, view_service : Oid::Service::View view_service, window_service : Oid::Service::Window window_service

Constructor Detail

def self.new(collector : Entitas::Collector, filter : Proc(Entitas::IEntity, Bool)) : Oid::Systems::HiddenManger #

[View source]
def self.new(context : Entitas::Context, filter : Proc(Entitas::IEntity, Bool)) : Oid::Systems::HiddenManger #

[View source]
def self.new(context : Entitas::Context) : Oid::Systems::HiddenManger #

[View source]
def self.new(contexts : Entitas::Contexts) #

[View source]

Instance Method Detail

def context #

[View source]
def execute(entities : Array(Entitas::IEntity)) #

[View source]
def filter(entity : StageEntity) #

[View source]
def get_trigger(context : Entitas::Context) : Entitas::ICollector #
Description copied from class Entitas::ReactiveSystem

Specify the collector that will trigger the ReactiveSystem.


[View source]
def init #

[View source]
def on_hidden(entity, component : Oid::Components::Hidden) #

[View source]
def on_hidden_removed(entity) #

[View source]
def register_listeners(entity : Entitas::IEntity) #

[View source]