mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Made window bigger in map connections editor, fixed a couple of bugs, added Generation data to pokemon PBS files
This commit is contained in:
9
Data/Scripts/001_Technical/011_Input.rb
Normal file
9
Data/Scripts/001_Technical/011_Input.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
module Mouse
|
||||
module_function
|
||||
|
||||
# Returns the position of the mouse relative to the game window.
|
||||
def getMousePos(catch_anywhere = false)
|
||||
return nil unless System.mouse_in_window || catch_anywhere
|
||||
return Input.mouse_x, Input.mouse_y
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user