public ModuleWithConnectorDistribution(Type moduleType, ConnectionLayoutDistribution connectionLayoutDistribution) { ModuleType = moduleType; ConnectionLayoutDistribution = connectionLayoutDistribution; }
public ModuleDistribution Add(float nonNormalizedChance, Type moduleType, ConnectionLayoutDistribution connectionLayoutDistribution) { Add((nonNormalizedChance, new ModuleWithConnectorDistribution(moduleType, connectionLayoutDistribution))); return(this); }