struct Rosegold::EnchantmentOffer

Overview

One selectable enchantment-table offer advertised by the active menu.

Defined in:

rosegold/inventory/enchantment_offer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(index : Int32, required_level : Int32, level_cost : Int32, lapis_cost : Int32, enchantment_name : Nil | String, enchantment_level : Int32 | Nil) #

[View source]

Instance Method Detail

def enchantment_level : Int32 | Nil #

[View source]
def enchantment_name : String | Nil #

[View source]
def index : Int32 #

[View source]
def lapis_cost : Int32 #

[View source]
def level_cost : Int32 #

[View source]
def required_level : Int32 #

[View source]