Added spawn points to test_map, Debug text now shows type of tile under mouse

This commit is contained in:
2019-10-11 21:14:33 -05:00
parent 9ab515dce2
commit 5e7bdeba57
3 changed files with 12 additions and 2 deletions

View File

@@ -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)