class Works::Tile::Ore::Copper
Defined in:
works/tile/ore/copper.crConstant Summary
-
Color =
Item::Ore::Copper::Color
-
Name =
"Copper"
Class Method Summary
Instance methods inherited from class Works::Tile::Ore::Base
amount : UInt16
amount,
color
color,
draw(dx, dy, color)
draw,
draw_hover(dx, dy)
draw_hover,
draw_hover_info
draw_hover_info,
item_class
item_class,
mine(amount)
mine,
mine_amount(amount)
mine_amount,
print_str
print_str,
sprite
sprite
Constructor methods inherited from class Works::Tile::Ore::Base
new(col = 0_u16, row = 0_u16, amount : UInt16 = 0_u16)
new
Class methods inherited from class Works::Tile::Ore::Base
color
color,
item_class
item_class,
name
name,
sprite
sprite
Instance methods inherited from class Works::Tile::Base
color
color,
destroy
destroy,
draw(dx, dy, color)draw(x, y) draw
Class methods inherited from class Works::Tile::Base
color
color,
name
name
Instance methods inherited from class Works::Cell
clone
clone,
col : UInt16
col,
col=(col : UInt16)
col=,
cols : UInt8
cols,
dimensions : NamedTuple(x: UInt8, y: UInt8)
dimensions,
draw(x, y)
draw,
draw_selection(dx, dy, color = nil)
draw_selection,
height
height,
hover?(mouse_col, mouse_row)
hover?,
name
name,
overlaps?(o_col, o_row)overlaps?(cell : Cell) overlaps?, print_str print_str, row : UInt16 row, row=(row : UInt16) row=, rows : UInt8 rows, size : UInt16 size, width width, x x, y y