mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-16 08:02:36 +00:00
added on_order handler to entities and components, added visibility map
This commit is contained in:
@@ -2,7 +2,7 @@ class IMICRTS
|
||||
class Waypoint < Component
|
||||
def setup
|
||||
@waypoint = @parent.position.clone
|
||||
@waypoint.y += @parent.director.map.tile_size
|
||||
@waypoint.y += @parent.director.map.tile_size * 2
|
||||
@waypoint_color = 0xffffff00
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user