mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-15 15:52:34 +00:00
Added spawn points to test_map, Debug text now shows type of tile under mouse
This commit is contained in:
@@ -2,7 +2,7 @@ class IMICRTS
|
||||
class Map
|
||||
Tile = Struct.new(:position, :color, :image, :state, :type)
|
||||
|
||||
attr_reader :tiles, :ores
|
||||
attr_reader :tile_size, :tiles, :ores
|
||||
def initialize(map_file:)
|
||||
@tiled_map = TiledMap.new(map_file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user