Пример #1
0
        private void BuildA()
        {
            /* EQUIPMENTS */
            var beaker = new Beaker(150);

            SimulationManager.instance.AddEquipmentItem(beaker);
            SimulationMixtureManager.instance.RegisterMixable(beaker);

            /* MATERIALS */
            var chalk = new Chalk();

            SimulationManager.instance.AddMaterial(chalk);

            var sand = new Sand();

            SimulationManager.instance.AddMaterial(sand);

            var water = new Water();

            SimulationManager.instance.AddMaterial(water);

            /* REGISTRATION */
            SimulationMixtureManager.instance.AddAllowableMixtureToMixable(beaker, water);
            SimulationMixtureManager.instance.AddAllowableMixtureToMixable(beaker, sand);
            SimulationMixtureManager.instance.AddAllowableMixtureToMixable(beaker, chalk);
            SimulationMixtureManager.instance.AddAllowableMixtureToMixable(beaker, beaker);
        }
Пример #2
0
        private void BuildD()
        {
            /* EQUIPMENTS */
            var beaker = new Beaker(150);

            SimulationManager.instance.AddEquipmentItem(beaker);
            SimulationMixtureManager.instance.RegisterMixable(beaker);

            var stand = new IronStand();

            SimulationManager.instance.AddEquipmentItem(stand);

            var filter = new Filter();

            SimulationManager.instance.AddEquipmentItem(filter);

            var setup = new BoilSetup();

            SimulationManager.instance.AddEquipmentItem(setup);

            /* MATERIALS */
            var water = new Water();

            SimulationManager.instance.AddMaterial(water);

            var sugar = new Sugar();

            SimulationManager.instance.AddMaterial(sugar);

            var charcoal = new Charcoal();

            SimulationManager.instance.AddMaterial(charcoal);
        }
Пример #3
0
        private void BuildC()
        {
            /* EQUIPMENTS */
            var beaker = new Beaker(150);

            SimulationManager.instance.AddEquipmentItem(beaker);
            SimulationMixtureManager.instance.RegisterMixable(beaker);

            var setup = new DistillationSetup();

            SimulationManager.instance.AddEquipmentItem(setup);

            /* MATERIALS */
            var water = new Water();

            SimulationManager.instance.AddMaterial(water);

            var dye = new BlueDye();

            SimulationManager.instance.AddMaterial(dye);

            var ammonium = new AmmoniumHydroxide();

            SimulationManager.instance.AddMaterial(ammonium);

            var phenolph = new Phenolphthalein();

            SimulationManager.instance.AddMaterial(phenolph);
        }
Пример #4
0
        private void BuildE()
        {
            /* EQUIPMENTS */
            var beaker = new Beaker(400);

            SimulationManager.instance.AddEquipmentItem(beaker);
            SimulationMixtureManager.instance.RegisterMixable(beaker);

            var beaker150 = new Beaker(150);

            SimulationManager.instance.AddEquipmentItem(beaker150);
            SimulationMixtureManager.instance.RegisterMixable(beaker150);

            /* MATERIALS */
            var water = new Water();

            SimulationManager.instance.AddMaterial(water);

            var dye = new BlueDye();

            SimulationManager.instance.AddMaterial(dye);

            var naph = new Naphthalene();

            SimulationManager.instance.AddMaterial(naph);

            var ice = new Ice();

            SimulationManager.instance.AddMaterial(ice);
        }
Пример #5
0
        private void BuildB()
        {
            /* EQUIPMENTS */
            var beaker = new Beaker(150);

            SimulationManager.instance.AddEquipmentItem(beaker);
            SimulationMixtureManager.instance.RegisterMixable(beaker);

            var filter = new Filter();

            SimulationManager.instance.AddEquipmentItem(filter);

            var funnel = new Funnel();

            SimulationManager.instance.AddEquipmentItem(funnel);

            var funnelSupport = new FunnelSupport();

            SimulationManager.instance.AddEquipmentItem(funnelSupport);

            var stand = new IronStand();

            SimulationManager.instance.AddEquipmentItem(stand);

            /* MATERIALS */
            var nacl = new SodiumChloride();

            SimulationManager.instance.AddMaterial(nacl);

            var chalk = new Chalk();

            SimulationManager.instance.AddMaterial(chalk);

            var water = new Water();

            SimulationManager.instance.AddMaterial(water);
        }