Simulator/src/model/map/ModelComponentBuilder.java
/**
	 * Create a gate.
	 * 
	 * @param start
	 *            The starting position.
	 * @param numberOfRows
	 *            The number of rows for seats.
	 * @param numberOfChairsPerRow
	 *            The number of chairs per row.
	 * @param degreeRotation
	 *            The degrees it is rotated (in deg.).
	 * @return A list of SimulationObjects that form the gate area.
	 */
Create a gate.

@param start
The starting position.
@param numberOfRows
The number of rows for seats.
@param numberOfChairsPerRow
The number of chairs per row.
@param degreeRotation
The degrees it is rotated (in deg.).
@return A list of SimulationObjects that form the gate area.
Create a gate . @param start The starting position . @param numberOfRows The number of rows for seats . @param numberOfChairsPerRow The number of chairs per row . @param degreeRotation The degrees it is rotated ( in deg . ) . @return A list of SimulationObjects that form the gate area .
public static List<SimulationObject> gate(Position start, int numberOfRows, int numberOfChairsPerRow,
			double degreeRotation) {
		List<SimulationObject> components = new ArrayList<>();
		List<SimulationObject> sittingArea = sittingArea(new Position(start.x, start.y), numberOfRows,
				numberOfChairsPerRow, degreeRotation);
		components.addAll(sittingArea);
		return components;
	}
public static List < SimulationObject > gate ( Position start , int numberOfRows , int numberOfChairsPerRow , double degreeRotation ) { List < SimulationObject > components = new ArrayList < > ( ) ; List < SimulationObject > sittingArea = sittingArea ( new Position ( start . x , start . y ) , numberOfRows , numberOfChairsPerRow , degreeRotation ) ; components . addAll ( sittingArea ) ; return components ; }
Create a gate.
Create a gate .
// TODO add gate area.