ECS::YAMLComponent
Inherits YAML::Serializable / ECS::Component / Cannon::AutoToIo / Cannon::Auto / Struct / Value / Object
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceClass methods
component_index
SourceInstance methods
to_yaml(yaml : YAML::Nodes::Builder)
this is a hack - it copies substancial part of logic from Crystal stdlib just for one thing - automatically serialize type field