class NewYearTree

Defined in:

new_year_tree.cr

Constant Summary

COLORS = [NCurses::RED, NCurses::GREEN, NCurses::YELLOW, NCurses::BLUE, NCurses::MAGENTA, NCurses::CYAN, NCurses::WHITE]

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.run #

[View source]

Instance Method Detail

def cols : Int32 #

[View source]
def draw_sections_border(coordinates) #

[View source]
def draw_sections_ornament(coordinates) #

[View source]
def draw_star(coordinates) #

[View source]
def draw_text_on_center(y : Int32, text = "") #

[View source]
def lines : Int32 #

[View source]
def run #

[View source]
def sections_border(header_indent, section_size) #

[View source]
def sections_ornament(header_indent, section_size) #

[View source]
def star(y : Int32, x : Int32) : Array(Coordinates) #

[View source]

Macro Detail

macro define_colors #

[View source]