struct SeekRecipe

Defined in:

mechanics/craft.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : String, desc : String, marker_index : Int32, min_rarity : Int32, chance : Int32) #

[View source]
def self.new(name : String, desc : String, marker : ECS::Component.class, min_rarity : Int32, chance : Int32) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def chance : Int32 #

def clone #

[View source]
def copy_with(name _name = @name, desc _desc = @desc, marker_index _marker_index = @marker_index, min_rarity _min_rarity = @min_rarity, chance _chance = @chance) #

[View source]
def desc : String #

def marker #

[View source]
def marker_index : Int32 #

def min_rarity : Int32 #

def name : String #