abstract struct ECS::YAMLComponent
- ECS::YAMLComponent
- ECS::Component
- Struct
- Value
- Object
Included Modules
- YAML::Serializable
Defined in:
yaml.crConstructors
Class Method Summary
Instance Method Summary
-
#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
Instance methods inherited from struct ECS::Component
initialize
initialize
Constructor methods inherited from struct ECS::Component
new
new
Constructor Detail
Class Method Detail
Instance Method Detail
def 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