Fixed game ordering, added ApplicationManager class that'll manage installing/repairing/removing games

This commit is contained in:
2021-11-14 19:52:27 -06:00
parent b7ccdb2ad3
commit 7fd38cd92d
9 changed files with 120 additions and 39 deletions

View File

@@ -1,17 +1,24 @@
class W3DHub
class Window < CyberarmEngine::Window
attr_reader :settings
attr_reader :settings, :application_manager
def setup
self.caption = "#{W3DHub::NAME}"
@settings = Settings.new
@application_manager = ApplicationManager.new
@settings.save_settings
push_state(W3DHub::States::Boot)
end
def close
@settings.save_settings
super if @application_manager.idle?
end
def button_down(id)
super