class Works::Item::Struct::Chest::Wooden

Defined in:

works/item/struct/chest/wooden.cr

Constant Summary

Color = LibAllegro.map_rgb_f(0.37, 0.29, 0.21)
Key = :wooden_chest
Name = "Wooden chest"
ShortCode = "WC"
Storage = 16

Class Method Summary

Instance methods inherited from class Works::Item::Struct::Chest::Base

draw_icon_text(x, y, size) draw_icon_text, to_struct to_struct

Class methods inherited from class Works::Item::Struct::Chest::Base

icon_color icon_color, key key, max_amount max_amount, name name, short_code short_code, sprite sprite

Instance methods inherited from class Works::Item::Struct::Base

to_struct to_struct

Class methods inherited from class Works::Item::Struct::Base

icon_color icon_color, key key, max_amount max_amount, name name, short_code short_code, sprite sprite

Instance methods inherited from class Works::Item::Base

add(amount) add, amount : Int32 amount, clone clone, draw_icon(x, y, size) draw_icon, draw_icon_amount_text(x, y, size) draw_icon_amount_text, draw_icon_background(x, y, size) draw_icon_background, draw_icon_text(x, y, size) draw_icon_text, draw_item(cx, cy, center = true) draw_item, draw_shortcode_text(x, y, size) draw_shortcode_text, full? full?, icon_color icon_color, key key, max_amount max_amount, name name, none? none?, print_str print_str, remove(amount) remove, remove_as_new(amount) remove_as_new, short_code short_code, sprite sprite

Constructor methods inherited from class Works::Item::Base

new new

Class methods inherited from class Works::Item::Base

icon_color icon_color, key key, max_amount max_amount, name name, short_code short_code, sprite sprite

Class Method Detail

def self.icon_color #

[View source]
def self.key #

[View source]
def self.name #

[View source]
def self.short_code #

[View source]
def self.storage #

[View source]