Added vertical_/horizontal_margin/padding to Widgets, added HUD command to toggle HUD

This commit is contained in:
2021-06-02 12:55:08 +00:00
parent 5cb48233fb
commit 58b2f8b890
11 changed files with 126 additions and 55 deletions

View File

@@ -27,7 +27,7 @@ class IMICFPS
def draw
window.director.map.render(@camera)
@hud.draw
@hud.draw if window.config.get(:options, :hud)
end
def update