mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-13 06:52:33 +00:00
Update to support recent changes to cyberarm_engine
This commit is contained in:
@@ -167,8 +167,8 @@ class IMICRTS
|
|||||||
end
|
end
|
||||||
|
|
||||||
def draw_radius
|
def draw_radius
|
||||||
Gosu.draw_circle(@position.x, @position.y, @radius, ZOrder::ENTITY_RADIUS, @player.color, 360 / 18)
|
Gosu.draw_arc(@position.x, @position.y, @radius, 1.0, 18, 1, @player.color, ZOrder::ENTITY_RADIUS)
|
||||||
Gosu.draw_circle(@position.x, @position.y, @boid_radius, ZOrder::ENTITY_RADIUS, @player.color, 360 / 18)
|
Gosu.draw_arc(@position.x, @position.y, @boid_radius, 1.0, 18, 1, @player.color, ZOrder::ENTITY_RADIUS)
|
||||||
end
|
end
|
||||||
|
|
||||||
def draw_gizmos
|
def draw_gizmos
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class IMICRTS
|
class IMICRTS
|
||||||
class Window < CyberarmEngine::Engine
|
class Window < CyberarmEngine::Window
|
||||||
attr_reader :mouse
|
attr_reader :mouse
|
||||||
def setup
|
def setup
|
||||||
@last_update_time = Gosu.milliseconds
|
@last_update_time = Gosu.milliseconds
|
||||||
@@ -52,4 +52,4 @@ class IMICRTS
|
|||||||
super(*args)
|
super(*args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user