public WorldManager(WorldBounds worldBounds, MovementGenerator moveGenerator) { _worldBounds = worldBounds; _moveGenerator = moveGenerator; _random = new Random(); _ants = new List <Ant>(); _foodSources = new List <FoodSource>(); _nests = new List <Nest>(); _worldGrid = new WorldGrid(_numXGridBlocks, _numYGridBlocks, worldBounds); }
public WorldManager(WorldBounds worldBounds, MovementGenerator moveGenerator) { _worldBounds = worldBounds; _moveGenerator = moveGenerator; _random = new Random(); _ants = new List<Ant>(); _foodSources = new List<FoodSource>(); _nests = new List<Nest>(); _worldGrid = new WorldGrid(_numXGridBlocks, _numYGridBlocks, worldBounds); }