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
|
||||
|
||||
def draw_radius
|
||||
Gosu.draw_circle(@position.x, @position.y, @radius, ZOrder::ENTITY_RADIUS, @player.color, 360 / 18)
|
||||
Gosu.draw_circle(@position.x, @position.y, @boid_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_arc(@position.x, @position.y, @boid_radius, 1.0, 18, 1, @player.color, ZOrder::ENTITY_RADIUS)
|
||||
end
|
||||
|
||||
def draw_gizmos
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class IMICRTS
|
||||
class Window < CyberarmEngine::Engine
|
||||
class Window < CyberarmEngine::Window
|
||||
attr_reader :mouse
|
||||
def setup
|
||||
@last_update_time = Gosu.milliseconds
|
||||
|
||||
Reference in New Issue
Block a user