Updated gems, fix issues caused by the removal of $window from cyberarm_engine

This commit is contained in:
2022-07-16 06:59:47 -05:00
parent 07c8dfa45b
commit 580c9d79ce
14 changed files with 49 additions and 51 deletions

View File

@@ -77,12 +77,12 @@ class IMICFPS
when "up"
input = InputMapper.get(data.last.to_sym)
key = input.is_a?(Array) ? input.first : input
$window.current_state.button_up(key) if key
CyberarmEngine::Window.instance.current_state.button_up(key) if key
when "down"
input = InputMapper.get(data.last.to_sym)
key = input.is_a?(Array) ? input.first : input
$window.current_state.button_down(key) if key
CyberarmEngine::Window.instance.current_state.button_down(key) if key
when "mouse"
@camera.orientation.z = data[1].to_f