class Drawer

Defined in:

2048.cr

Constant Summary

INNER_CELL_HEIGHT = 6
INNER_CELL_WIDTH = 16

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def bottom_border #

[View source]
def box #

[View source]
def cell_line(fill, cell) #

[View source]
def content_line #

[View source]
def draw(grid : Array(Array(String))) #

[View source]
def line(left, fill, inner, right) #

[View source]
def mid_border #

[View source]
def set_current_row(row : Array(String)) #

[View source]
def space_line #

[View source]
def tile(row) #

[View source]
def top_border #

[View source]