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