/// <summary> /// Generates a map based on the dungeon level and type /// </summary> public Map(int level, MapType type) { MapGenerator generator = new MapGenerator(type, this); }
/// <summary> /// Generates a map based on the dungeon level and type /// </summary> public Map(int Level, MapType type, PlayState theState) { gamestate = theState; player = gamestate.Player; if(player != null) player.SetMap(this); level = Level; generator = new MapGenerator(type, this); }