class Entitas::Context::Info

Defined in:

entitas/context/info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, component_names : Array(String) = Entitas::Component::COMPONENT_NAMES, component_types : Array(::Entitas::Component.class) = Entitas::Component::COMPONENT_KLASSES) #

[View source]

Instance Method Detail

def component_names : Array(String) #

[View source]
def component_types : Array(Entitas::Component::ComponentTypes) #

[View source]
def name : String #

[View source]
def to_json(json : JSON::Builder) #

[View source]