Esempio n. 1
0
 public void Setup(List <CollectorAgent> agentCollectors, CollectorFoodSpawner foodSpawner)
 {
     collectorInitialHp   = 10F;
     spawnedFood          = new List <GameObject>();
     this.agentCollectors = agentCollectors;
     this.foodSpawner     = foodSpawner;
 }
Esempio n. 2
0
 public void Setup()
 {
     agentCollectors = new List <CollectorAgent>();
     foodSpawner     = Substitute.For <CollectorFoodSpawner>();
     area            = new CollectingArea();
     area.Setup(agentCollectors, foodSpawner);
 }