Added HUD widgets, make Boot and Close use button_up instead of button_down

This commit is contained in:
2020-05-04 08:57:58 -05:00
parent 1629cf4605
commit 85dd90b2f4
9 changed files with 164 additions and 2 deletions

25
lib/hud/widget.rb Normal file
View File

@@ -0,0 +1,25 @@
class IMICFPS
class HUD
class Widget
include CommonMethods
attr_reader :options
def initialize(options = {})
@options = options
@player = options[:player]
@margin = 10
setup
end
def setup
end
def draw
end
def update
end
end
end
end