class

Termbox::Cell

Inherits Termbox::Element < Reference < Object

A cell is a coordinate with content and foreground/background colors

Constructors

new(char : Char, position : Position, foreground : Int32, background : Int32)

Make a cell with a specified foreground and background

Source
new(char : Char, position : Position)

Make a cell with default colors

Source

Instance methods

background
Source
char
Source
foreground
Source
new_transform(x : Int32, y : Int32)

Make a new cell with a position transformed by x and y

Source
position
Source
render

Render as list of cells

Source