Simulator/src/model/agent/humanAgent/aatom/AatomHumanAgent.java
/**
	 * Update the agent's position and internal representations using the
	 * generated move of the {@link OperationalModel}, the
	 * {@link StrategicModel#update(int)} and {@link TacticalModel#update(int)}
	 * methods.
	 * 
	 * @param timeStep
	 *            The used time step (in milliseconds) in the simulation.
	 */
Update the agent's position and internal representations using the
generated move of the  OperationalModel, the
StrategicModel#update(int) and  TacticalModel#update(int)
methods.

@param timeStep
The used time step (in milliseconds) in the simulation.
Update the agent ' s position and internal representations using the generated move of the OperationalModel the StrategicModel#update ( int ) and TacticalModel#update ( int ) methods . @param timeStep The used time step ( in milliseconds ) in the simulation .
@Override
	public void update(int timeStep) {
		super.update(timeStep);
		strategicModel.update(timeStep);
		tacticalModel.update(timeStep);
		operationalModel.update(timeStep);
		Vector move = operationalModel.getMove(timeStep);
		position = new Position(position.x + move.x, position.y + move.y);
		if (operationalModel.isSitting()) {
			tacticalModel.setGoal(Position.NO_POSITION);
			Chair chair = operationalModel.getMovementModel().getChair();
			position = new Position(chair.getPosition().x + 0.5 * chair.getWidth(),
					chair.getPosition().y + 0.5 * chair.getWidth());
		}
	}
@ Override public void update ( int timeStep ) { super . update ( timeStep ) ; strategicModel . update ( timeStep ) ; tacticalModel . update ( timeStep ) ; operationalModel . update ( timeStep ) ; Vector move = operationalModel . getMove ( timeStep ) ; position = new Position ( position . x + move . x , position . y + move . y ) ; if ( operationalModel . isSitting ( ) ) { tacticalModel . setGoal ( Position . NO_POSITION ) ; Chair chair = operationalModel . getMovementModel ( ) . getChair ( ) ; position = new Position ( chair . getPosition ( ) . x + 0.5 * chair . getWidth ( ) , chair . getPosition ( ) . y + 0.5 * chair . getWidth ( ) ) ; } }
Update the agent's position and internal representations using the
 generated move of the {@link OperationalModel}, the
 {@link StrategicModel#update(int)} and {@link TacticalModel#update(int)}
 methods.
Update the agent ' s position and internal representations using the generated move of the { @link OperationalModel } the { @link StrategicModel#update ( int ) } and { @link TacticalModel#update ( int ) } methods .
// think first... // then act... // sitting routine