mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-08-04 21:31:22 +00:00
22 lines
443 B
Ruby
22 lines
443 B
Ruby
module W3DHubLauncher
|
|
class Window < CyberarmEngine::Window
|
|
def setup
|
|
self.show_cursor = true
|
|
self.caption = format("%s | v%s (%s)", NAME, VERSION, VERSION_NAME) # "Cyberarm's W3D Hub Linux Launcher | v2.0.0 alpha"
|
|
|
|
push_state(States::Boot)
|
|
# push_state(States::Interface)
|
|
end
|
|
|
|
def needs_redraw?
|
|
states.any?(&:needs_repaint?)
|
|
end
|
|
|
|
def update
|
|
super
|
|
|
|
sleep 0.001
|
|
end
|
|
end
|
|
end
|