public static void RegisterGenerators() { foreach (MapGenTemplate templ in Enum.GetValues(typeof(MapGenTemplate))) { MapGen.RegisterSimpleGen("fc_" + templ, GenerateMap); } }
public static void RegisterGenerators() { MapGen.RegisterSimpleGen("island", GenSimple); MapGen.RegisterSimpleGen("mountains", GenSimple); MapGen.RegisterSimpleGen("forest", GenSimple); MapGen.RegisterSimpleGen("ocean", GenSimple); MapGen.RegisterSimpleGen("flat", GenFlat); MapGen.RegisterSimpleGen("pixel", GenPixel); MapGen.RegisterSimpleGen("empty", GenEmpty); MapGen.RegisterSimpleGen("desert", GenSimple); MapGen.RegisterSimpleGen("space", GenSpace); MapGen.RegisterSimpleGen("rainbow", GenRainbow); MapGen.RegisterSimpleGen("hell", GenHell); }