public Form1() { InitializeComponent(); Worker[] workers = new Worker[4]; workers[0] = new Worker(new string[] { "Nectar collector", "Honey manu" }); workers[1] = new Worker(new string[] { "Egg care", "baby bee tuto" }); workers[2] = new Worker(new string[] { "Hive maintanence", "Sting patrol" }); workers[0] = new Worker(new string[] { "Nectar collector", "Honey manu", "egg care", "baby bee tutor", "hive maintanence", "Sting patrol" }); queen = new Queen(workers); }
public Queen(Worker[] workers) { this.workers = workers; }