public void DrawExploMap() { GoRogue.MapViews.ArrayMap <int> wMap = Adventure.Map.ExplorationMap; for (var i = 0; i < wMap.Width; i++) { for (var j = 0; j < wMap.Height; j++) { switch (wMap[i, j]) { case 0: Cell cell = UnknownAppearance; _mapConsole[i, j].CopyAppearanceFrom(cell); _mapConsole.SetGlyph(i, j, 176); break; case 1: case 2: case -1: DrawMapPoint(i, j, false); break; default: break; } } } }
public void DrawMapPoint(int x, int y, bool isUnclear) { GoRogue.MapViews.ArrayMap <Tile> wMap = Adventure.Map.TileMap; switch (wMap[x, y]) { case StoneTile _: _mapConsole[x, y].CopyAppearanceFrom(isUnclear ? UnclearAppearance : StoneTileAppearance); _mapConsole.SetGlyph(x, y, 46); //43); break; case StoneWall _: _mapConsole[x, y].CopyAppearanceFrom(isUnclear ? UnclearAppearance : StoneWallAppearance); _mapConsole.SetGlyph(x, y, 245); //35); break; default: break; } }