Esempio n. 1
0
File: Main.cs Progetto: MrEk0/RPG
        private void Update()
        {
            if (Input.GetKeyDown(KeyCode.Space))
            {
                Merging     merging     = new Merging();
                Evaporation evaporation = new Evaporation();
                Heating     heating     = new Heating();

                MultichefFacade facade = new MultichefFacade(merging, evaporation, heating);

                Client client = new Client();
                client.Cooking(facade);
            }
        }
Esempio n. 2
0
 public MultichefFacade(Merging merg, Evaporation vap, Heating heat)
 {
     merging     = merg;
     evaporation = vap;
     heating     = heat;
 }