public void Notify(int plant) { foreach (var GOM in GOMlist) { GOM.DoesAttack(plant); } }
public Worker() { instance = this; this.gom = GOM.Instance; this.log = Log.Instance; this.repository = Repository.Instance; new Thread(new ThreadStart(this.DoWork)).Start(); }