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