class

Cards::MenuItem

Inherits Reference < Object

Constants

PADDING = 25
TEXT_SIZE = 21

Constructors

new(name : String, x = 0, y = 0, color = Game::Color::Lime, focused : Bool = false, padding : Int32 = PADDING)
Source

Instance methods

blur
Source
draw
Source
draw_focused
Source
focus
Source
focused?
Source
height
Source
name
Source
text(*args, **options)
Source
text(*args, **options, &)
Source
width
Source
x=(value : Int32 | Float32)
Source
y=(value : Int32 | Float32)
Source