public Map Random(RandomMapData mapData, MapObjectsData mapObjectsData) { var creator = new RandomMapCreator(mapData, mapObjectsData); return(Generate(creator)); }
public Map LoadFrom(string path, MapObjectsData mapObjectsData) { var creator = new LoadMap(path, mapObjectsData); return(Generate(creator)); }
public RandomMapCreator(RandomMapData data, MapObjectsData mapObjectsData) { _data = data; _createdObjects = 0; _objects = mapObjectsData.Objects; }