class ECS::ComponentStore

Defined in:

ecs/component_store.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

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

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

[View source]
def has_type(entity : Entity, klass : Component.class) #

[View source]
def with_type(klass : Component.class) : EntCompHash #

[View source]