Esempio n. 1
0
        static void Main(string[] args)
        {
            House      h1  = new House();
            TeamLeader tl1 = new TeamLeader();

            tl1.Report(h1);
            h1.ShowHouse();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Worker Ravshan = new Worker();
            Worker Djumschut = new Worker();
            TeamLeader Naschalnika = new TeamLeader();

            Naschalnika.Report();

            while (!Home.done)
            {
                Thread.Sleep(200);

                Ravshan.build(ref Home.parts);
                Djumschut.build(ref Home.parts);

                Naschalnika.Report();
            }

            Naschalnika.Report();
        }