class Gosuplus::GUI::Form::Base
Public Class Methods
new(position, image, input_handler, key_id, font, text = nil)
click to toggle source
# File lib/Gosuplus/gui/form/base.rb, line 5 def initialize(position, image, input_handler, key_id, font, text = nil) @icon = Icon.new(image, position) @input_handler, @key_id, @font = input_handler, key_id, font @visible_text = text ? text : String @actual_text = String end
Public Instance Methods
activated?(x, y)
click to toggle source
# File lib/Gosuplus/gui/form/base.rb, line 21 def activated?(x, y) end
draw()
click to toggle source
# File lib/Gosuplus/gui/form/base.rb, line 13 def draw end
update(x, y)
click to toggle source
# File lib/Gosuplus/gui/form/base.rb, line 17 def update(x, y) end