public void placeUnits(Player player, Dimension minimumRange, Dimension maximumRange)  {
		for (Unit unit : player.getUnits()) {
			int x, y;
			do {
				x = MathUtil.randomInteger(minimumRange.width, maximumRange.width);
				y = MathUtil.randomInteger(minimumRange.height, maximumRange.height);
			} while(!grid[x][y].isEmpty());
			//TODO: Place units nonrandomly, somehow.
			//In the meantime, don't test this code with too many units.
			grid[x][y].setUnit(unit);
		}
	}