Dual screen game clock now working

This commit is contained in:
2021-09-29 13:41:44 -05:00
parent 44523b0bf2
commit 2948b02f12
8 changed files with 36 additions and 58 deletions

View File

@@ -1,6 +1,7 @@
module TAC
class Window < CyberarmEngine::Window
attr_reader :backend, :notification_manager
def initialize(**args)
super(**args)
@@ -8,7 +9,11 @@ module TAC
@backend = Backend.new
@notification_manager = GosuNotifications::NotificationManager.new(window: self, edge: :bottom)
push_state(TAC::States::Boot)
if ARGV.join.include?("--game-clock-remote-display")
push_state(PracticeGameClock::View, remote_control_mode: true)
else
push_state(TAC::States::Boot)
end
end
def draw