Imported Console from I-MIC FPS

This commit is contained in:
2021-06-26 13:12:33 +00:00
parent 5452d149c3
commit 24be9bfb29
6 changed files with 566 additions and 0 deletions

View File

@@ -97,5 +97,17 @@ module CyberarmEngine
def window
$window
end
def control_down?
Gosu.button_down?(Gosu::KB_LEFT_CONTROL) || Gosu.button_down?(Gosu::KB_RIGHT_CONTROL)
end
def shift_down?
Gosu.button_down?(Gosu::KB_LEFT_SHIFT) || Gosu.button_down?(Gosu::KB_RIGHT_SHIFT)
end
def alt_down?
Gosu.button_down?(Gosu::KB_LEFT_ALT) || Gosu.button_down?(Gosu::KB_RIGHT_ALT)
end
end
end