public MapBackground(String path) { this.path = path; parse = new Parser("Map/MapBossBackground.txt"); listImage = new List<Image>(); }
public DynamicMap(String path) { this.path = path; mondico = new Dictionary<int, string>(); mondico.Add(1, "Graphics/TileMap/cactus_bottom"); mondico.Add(2, "Graphics/TileMap/stonebrick"); parse = new Parser("Map/Map1Dyn.txt"); listMov = new List<MovingPlatforme>(); listEnnemy = new List<Enemy>(); boss = new Boss(); }
public Map(String path) { listBlock = new List<Block>(); listSpike = new List<Spike>(); mondico = new Dictionary<int, string>(); mondico.Add(1, "Graphics/TileMap/cactus_bottom"); mondico.Add(2, "Graphics/TileMap/stoneSol"); mondico.Add(3, "Graphics/TileMap/spike"); mondico.Add(4, "Graphics/TileMap/spike_bas"); mondico.Add(5, "Graphics/TileMap/spike_droite"); mondico.Add(6, "Graphics/TileMap/spike_gauche"); mondico.Add(7, "Graphics/TileMap/cactus_top"); mondico.Add(8, "Graphics/TileMap/torchStone"); mondico.Add(9, "Graphics/TileMap/stonebrick"); mondico.Add(10, "Graphics/TileMap/furnace"); mondico.Add(11, "Graphics/TileMap/furnace2"); pathMap = path; pars = new Parser("Map/Map1.txt"); }