struct Relations
- Relations
- GameComponent
- ECS::Component
- Struct
- Value
- Object
Defined in:
wif/game/relations.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(other : Hash(ECS::Entity, Relation) = Hash(ECS::Entity, Relation).new do Relation::Unknown end)
Class Method Summary
Instance Method Summary
Instance methods inherited from struct GameComponent
after_initialize
after_initialize
Constructor methods inherited from struct GameComponent
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new
Class methods inherited from struct GameComponent
component_index
component_index
Constructor Detail
def self.new(other : Hash(ECS::Entity, Relation) = Hash(ECS::Entity, Relation).new do
Relation::Unknown
end)
#