struct Recipe
- Recipe
- ECS::Component
- Struct
- Value
- Object
Defined in:
mechanics/craft.crConstructors
Class Method Summary
Instance Method Summary
- #clone
- #copy_with(name _name = @name, desc _desc = @desc, work _work = @work, require_tech _require_tech = @require_tech, use _use = @use, result _result = @result)
- #desc : String
- #name : String
- #require_tech : Array(ECS::Entity)
- #result : Hash(ECS::Entity, Int32)
- #use : Hash(ECS::Entity, Int32)
- #work : Int32
Constructor Detail
def self.new(name : String, desc : String, work : Int32, require_tech : Array(ECS::Entity), use : Hash(ECS::Entity, Int32), result : Hash(ECS::Entity, Int32))
#
Class Method Detail
Instance Method Detail
def copy_with(name _name = @name, desc _desc = @desc, work _work = @work, require_tech _require_tech = @require_tech, use _use = @use, result _result = @result)
#