public Form1() { InitializeComponent(); Worker[] workers = new Worker[4]; workers[0] = new Worker(new string[] { "Zbieranie nektaru", "Wytwarzanie miodu" },175); workers[1] = new Worker(new string[] { "Pielęgnacja jaj", "Nauczanie pszczółek" },114); workers[2] = new Worker(new string[] { "Utrzymywanie ula", "Patrol z żądłami" },149); workers[3] = new Worker(new string[] { "Zbieranie nektaru", "Wytwarzanie miodu", "Pielęgnacja jaj","Nauczanie pszczółek","Utrzymywanie ula","Patrol z żądłami" }, 155); queen = new Queen(workers); }
public Queen(Worker[] workers) : base(275) { this.workers = workers; }