class

Fast::ECS::Engine

Inherits Reference < Object

Constructors

new(debug : Bool = false)
Source

Instance methods

add_component(component : Component)
Source
add_components(components : Array(Component))
Source
add_components(*components : Component)
Source
add_system(system : System)
Source
delta_time
Source
export_entity_id_pool
Source
generate_entity_id
Source
get_component(component_class : Component.class, entity_id : Int32)
Source
get_components(entity_id : Int32)
Source
import_entity_id_pool(params)
Source
query(*component_classes : Component.class, &)
Source
remove_all_entities
Source
remove_component(component_class : Component.class, entity_id : Int32)
Source
remove_component(component : Component)
Source
remove_components(components : Array(Component))
Source
remove_components(*components : Component)
Source
remove_entity(entity_id : Int32)
Source
systems
Source
update(delta_time : Int32)

def update(delta_time : Time::Span)

Source