class Works::Tile::Base
- Works::Tile::Base
- Works::Cell
- Reference
- Object
Direct Known Subclasses
Defined in:
works/tile/base.crConstant Summary
-
Color =
LibAllegro.premul_rgba_f(0, 0, 0, 0.13)
-
Name =
"Tile"
Class Method Summary
Instance Method Summary
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