private void LoadMaps() { var wm = new WorldMap(); MapMaps.Add("worldmap", wm); var lvl1 = new MapOne(); MapMaps.Add("mapone", lvl1); var lvl2 = new MapTwo(); MapMaps.Add("maptwo", lvl2); var lvl3 = new MapThree(); MapMaps.Add("mapthree", lvl3); var lvl4 = new MapFour(); MapMaps.Add("mapfour", lvl4); var lvl5 = new MapFive(); MapMaps.Add("mapfive", lvl5); var lvl6 = new MapSix(); MapMaps.Add("mapsix", lvl6); var lvl7 = new MapSeven(); MapMaps.Add("mapseven", lvl7); var lvl8 = new MapEight(); MapMaps.Add("mapeight", lvl8); var lvl9 = new MapNine(); MapMaps.Add("mapnine", lvl9); }
public MapManager() { myMapOne = new MapOne(); myMapTwo = new MapTwo(); Pause = new Pause(); Powerup = new PowerupManager(); Player = new Player(); Enemy = new EnemyManager(); UI = new UserInterface(); UI.Init(); }