Esempio n. 1
0
        public static void Install(SimFromBinController controller, TManager manager, bool initial)
        {
            List <ISimFromBinOption <TManager> > options = new List <ISimFromBinOption <TManager> >();

            options.Add(new AllowAlienHouseholdOption <TManager>());
            options.Add(new BustRangeOption <TManager>());
            options.Add(new ChanceOfHybridOption <TManager>());
            options.Add(new ChanceOfOccultOption <TManager>());
            options.Add(new CustomNamesOnlyOption <TManager>());
            options.Add(new DisallowHouseholdOption <TManager>());
            options.Add(new EqualBinChanceOption <TManager>());
            options.Add(new FatRangeOption <TManager>());
            options.Add(new FitRangeOption <TManager>());
            options.Add(new ImmigrantOccultOption <TManager>());
            options.Add(new ImmigrantWorldOption <TManager>());
            options.Add(new MaxCelebrityLevelOption <TManager>());
            options.Add(new MaximumBinHouseSizeOption <TManager>());
            options.Add(new MuscleRangeOption <TManager>());
            options.Add(new MutationSetRangeOption <TManager>());
            options.Add(new MutationUnsetRangeOption <TManager>());
            options.Add(new NameTakeOption <TManager>());
            options.Add(new SimFromBinChanceOption <TManager>());
            options.Add(new SimFromRandomChanceOption <TManager>());
            options.Add(new SkinToneRangeOption <TManager>());
            options.Add(new MaximumOccultOption <TManager>());

            foreach (ISimFromBinOption <TManager> option in options)
            {
                Installer <TManager> .Install(manager, option, initial);

                option.Controller = controller;
            }
        }