Simulator/src/model/map/shapes/PathShape.java
/**
	 * Generates a set of positions inside the shape.
	 * 
	 * @param numberOfPositions
	 *            The number of positions we want to generate.
	 * @param randomGenerator
	 *            The random generator.
	 * @return The positions.
	 */
Generates a set of positions inside the shape.

@param numberOfPositions
The number of positions we want to generate.
@param randomGenerator
The random generator.
@return The positions.
Generates a set of positions inside the shape . @param numberOfPositions The number of positions we want to generate . @param randomGenerator The random generator . @return The positions .
public List<Position> generatePositions(int numberOfPositions, RandomPlus randomGenerator) {
		List<Position> list = new ArrayList<>();
		for (int i = 0; i < numberOfPositions; i++) {
			list.add(generatePosition(randomGenerator));
		}
		return list;
	}
public List < Position > generatePositions ( int numberOfPositions , RandomPlus randomGenerator ) { List < Position > list = new ArrayList < > ( ) ; for ( int i = 0 ; i < numberOfPositions ; i ++ ) { list . add ( generatePosition ( randomGenerator ) ) ; } return list ; }
Generates a set of positions inside the shape.
Generates a set of positions inside the shape .