mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-18 22:02:34 +00:00
Fixed draw_rect helper missing drawing mode argument, set max view distance to a large number
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user