mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 17:22:35 +00:00
Added support for applying patches! added DemoInputDelay state to make recording Boot state easier, misc fixes for tweaks.
This commit is contained in:
12
lib/states/demo_input_delay.rb
Normal file
12
lib/states/demo_input_delay.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class W3DHub
|
||||
class States
|
||||
class DemoInputDelay < CyberarmEngine::GameState
|
||||
def button_down(id)
|
||||
return unless id == Gosu::KB_SPACE
|
||||
|
||||
pop_state # Erase self
|
||||
push_state(States::Boot)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user