/// <summary> /// Create an <see cref="Ant"/> that is within the confines of the world boundries /// </summary> /// <returns></returns> private Ant CreateAnt() { int xPos = _random.Next(0, _worldBounds.XBound + 1); int yPos = _random.Next(0, _worldBounds.YBound + 1); Ant ant = new Ant(xPos, yPos, _worldBounds, _moveGenerator); return ant; }