class NewYearTree
- NewYearTree
- Reference
- Object
Defined in:
new_year_tree.crConstant Summary
-
COLORS =
[NCurses::RED, NCurses::GREEN, NCurses::YELLOW, NCurses::BLUE, NCurses::MAGENTA, NCurses::CYAN, NCurses::WHITE]
Constructors
Class Method Summary
Instance Method Summary
- #cols : Int32
- #draw_sections_border(coordinates)
- #draw_sections_ornament(coordinates)
- #draw_star(coordinates)
- #draw_text_on_center(y : Int32, text = "")
- #lines : Int32
- #run
- #sections_border(header_indent, section_size)
- #sections_ornament(header_indent, section_size)
- #star(y : Int32, x : Int32) : Array(Coordinates)