struct LootItem

Defined in:

mechanics/craft.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : String, desc : String, rarity : Int32, tile_id : Int32) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, desc _desc = @desc, rarity _rarity = @rarity, tile_id _tile_id = @tile_id) #

[View source]
def desc : String #

def name : String #

def rarity : Int32 #

def tile_id : Int32 #