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

View File

@@ -57,7 +57,7 @@ class IMICFPS
push_state(MainMenu) if Gosu.milliseconds - @start_time >= @time_to_live
end
def button_down(id)
def button_up(id)
if id == Gosu::KbEscape or
(id >= Gosu::GP_LEFT and id >= Gosu::GP_BUTTON_15) or
id == Gosu::MsLeft