struct SeekRecipe
- SeekRecipe
- ECS::Component
- Struct
- Value
- Object
Defined in:
mechanics/craft.crConstructors
- .new(name : String, desc : String, marker_index : Int32, min_rarity : Int32, chance : Int32)
- .new(name : String, desc : String, marker : ECS::Component.class, min_rarity : Int32, chance : Int32)
Class Method Summary
Instance Method Summary
- #chance : Int32
- #clone
- #copy_with(name _name = @name, desc _desc = @desc, marker_index _marker_index = @marker_index, min_rarity _min_rarity = @min_rarity, chance _chance = @chance)
- #desc : String
- #marker
- #marker_index : Int32
- #min_rarity : Int32
- #name : String
Constructor Detail
def self.new(name : String, desc : String, marker_index : Int32, min_rarity : Int32, chance : Int32)
#
def self.new(name : String, desc : String, marker : ECS::Component.class, min_rarity : Int32, chance : Int32)
#
Class Method Detail
Instance Method Detail
def copy_with(name _name = @name, desc _desc = @desc, marker_index _marker_index = @marker_index, min_rarity _min_rarity = @min_rarity, chance _chance = @chance)
#