class Cards::MenuItemInput
- Cards::MenuItemInput
- Cards::MenuItem
- Reference
- Object
Defined in:
cards/menu_item_input.crConstructors
Instance Method Summary
Instance methods inherited from class Cards::MenuItem
blur
blur,
draw
draw,
draw_focused
draw_focused,
focus
focus,
focused? : Bool
focused?,
height
height,
name : String
name,
text(*args, **options)text(*args, **options, &) text, width width, x x, x=(value : Int32 | Float32) x=, y y, y=(value : Int32 | Float32) y=
Constructor methods inherited from class Cards::MenuItem
new(name : String, x = 0, y = 0, color = Game::Color::Lime, focused : Bool = false, padding : Int32 = PADDING)
new
Constructor Detail
def self.new(name, x = 0, y = 0, text = "", color = Game::Color::Lime, focused = false, padding = PADDING)
#