public IMapGraphic LoadMap(Map map) { factory.Setup(); var tiles = map.Tiles; table = new Table<IGraphicComponent>(); for (var i = 0; i < tiles.Rows; i++) { for (var j = 0; j < tiles.Columns; j++) { table[i, j] = factory.CreateSpriteSheetTexture(tiles[i, j].TextureName); } } return new MapGraphic(table); }
public void LoadMap(Map map) { throw new System.NotImplementedException(); }
public MainModule(Map map) { this.map = map; }
public void SetMap(Map map) { this.map = map; controller.SetMap(map); }