class

Tradify::Screen

Inherits Tradify::Component < Reference < Object

Constants

BACKGROUND_COLOR = LibRay::Color.new(r: 0, g: 0, b: 0, a: 0)
BORDER = 3
BORDER_COLOR = LibRay::Color.new(r: 0, g: 255, b: 0, a: 30)
MARGIN = 50
PADDING = 25

Constructors

new(game : Tradify::Game, account : Account, price_data : Array(Int32), level : Level, side_panel : Component = Component.new)

Instance methods

draw(px, py)
draw_border
draw_price
price(*args, **options)
price(*args, **options, &)
update(px, py)
update_chart_lines