Fixed draw_rect helper missing drawing mode argument, set max view distance to a large number

This commit is contained in:
2021-04-25 23:22:58 +00:00
parent e3c8e3bcc2
commit 165fc6f307
2 changed files with 4 additions and 4 deletions

View File

@@ -28,8 +28,8 @@ module CyberarmEngine
window.show_cursor = boolean
end
def draw_rect(x, y, width, height, color, z = 0)
Gosu.draw_rect(x, y, width, height, color, z)
def draw_rect(x, y, width, height, color, z = 0, mode = :default)
Gosu.draw_rect(x, y, width, height, color, z, mode)
end
def fill(color, z = 0)