public Form1() { InitializeComponent(); Worker[] workers = new Worker[4]; workers[0] = new Worker(new String[] { "Nectar collector", "Honey manufacturing" }); workers[1] = new Worker(new String[] { "Egg Care", "Baby bee tutoring" }); workers[2] = new Worker(new String[] { "Hive maintenance", "Sting patrol" }); workers[3] = new Worker(new String[] { "Nector collector", "Honey manufacturing", "Egg care", "Baby bee tutoring", "Hive maintenance", "Sting patrol" }); queen = new Queen(workers); }
public Queen(Worker[] workers) { this.workers = workers; }