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