lib/cyberarm_engine/common.rb in cyberarm_engine-0.20.0 vs lib/cyberarm_engine/common.rb in cyberarm_engine-0.21.0
- old
+ new
@@ -93,10 +93,10 @@
def get_song(path)
get_asset(path, Window::SONGS, Gosu::Song)
end
def window
- $window
+ CyberarmEngine::Window.instance
end
def control_down?
Gosu.button_down?(Gosu::KB_LEFT_CONTROL) || Gosu.button_down?(Gosu::KB_RIGHT_CONTROL)
end