class Cards::MenuItemInput

Defined in:

cards/menu_item_input.cr

Constructors

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) #

[View source]

Instance Method Detail

def blur #

[View source]
def focus #

[View source]
def update(frame_time) #

[View source]