Esempio n. 1
0
        public Form1()
        {
            InitializeComponent();

            comboBox1.SelectedIndex = 0;

            Worker[] workers = new Worker[]{
                new Worker(new string[] {"Patrol", "Egg care"}),
                new Worker(new string[] {"Baby bee tutoring", "Honey manufacturing"}),
                new Worker(new string[] {"Nectar collector"}),
                new Worker(new string[] {"Honey manufacturing", "Patrol", "Nectar collector"})

            };

            queen = new Queen(workers);
        }
Esempio n. 2
0
 public Queen(Worker[] workers)
 {
     this.workers = workers;
 }