public void CreateNewMap() { for (int i = 0; i < ActiveMap.Count; i++) { MapGenerator = ActiveMap[i]; MapGenerator.Setup(MapWidth, MapHeight, RandomMap); RandomMap = MapGenerator.Generate(); } }