}
@Override
public String handleAutomatically(EnvironmentInterface theEnvironment) {
Vector<Observation> theObservations= new Vector<Observation>();
getEnvObsForStateInterface castedEnv=(getEnvObsForStateInterface)theEnvironment;
for(int i=0;i<theRequestStates.size();i++){
Observation thisObs=castedEnv.getObservationForState(theRequestStates.get(i));
theObservations.add(thisObs);
}
EnvObsForStateResponse theResponse = new EnvObsForStateResponse(theObservations);
return theResponse.makeStringResponse();