public static void AddTuringMachineColony(List <Colony> Colonies, int width, int height, int x, int y, int Machines, string Source, int CellStates, Color color, List <Cell> Neighborhood, bool Cyclic = false, bool Gradient = false) { var TuringMachineColony = new TuringMachine(width, height, color); TuringMachineColony.SetNeighborhood(Neighborhood); TuringMachineColony.SetCyclic(Cyclic); TuringMachineColony.SetParameters(new List <Parameter> { new Parameter("Machines", Machines, 1, 1000), new Parameter("CellStates", CellStates, 2, 8), new Parameter("Source", Source) }); if (Gradient) { TuringMachineColony.GradientPalette(); } Colonies.Add(new Colony(x, y, TuringMachineColony)); }