mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-16 00:02:33 +00:00
Inital work on gamesaves/replays
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
class IMICRTS
|
||||
class Map
|
||||
attr_reader :tile_size, :tiles, :ores, :spawnpoints, :width, :height
|
||||
attr_reader :tile_size, :tiles, :ores, :spawnpoints, :width, :height, :map_file
|
||||
|
||||
def initialize(map_file:)
|
||||
@map_file = map_file
|
||||
@tiled_map = TiledMap.new(map_file)
|
||||
|
||||
@width = @tiled_map.width
|
||||
|
||||
Reference in New Issue
Block a user