class ECS::World

Defined in:

ecs.cr

Instance Method Summary

Instance Method Detail

def attach(entity : Entity, component : Component) #

[View source]
def detach(entity : Entity, component : Component) #

[View source]
def dispose #

[View source]
def entities_with(components : Set(Component.class)) : Set(Entity) #

[View source]
def entities_without(components : Set(Component.class)) : Set(Entity) #

[View source]
def first_entity_with(components : Set(Component.class)) : Entity #

[View source]
def pretty_print #

[View source]
def register(entity : Entity) #

[View source]
def remove_entity(entity : Entity) #

[View source]