else*/ if (type.compareTo("ADD_AIRCRAFT")==0) {
System.out.println("Adding an aircraft...");
d2.getAircraftList().addAircraft(parameters);
- }
+ } else
/*
else if (type.compareTo("REMOVE_AIRCRAFT")==0) {
System.out.println("Removing an aircraft...");
}
public /*static*/ Trajectory updateTrajectory (D2 d2, double time, Flight flight) {
- System.out.println("Updating trajectory for "+flight.flightID);
+ return null;
+ /* System.out.println("Updating trajectory for "+flight.flightID);
int i;
setInitialParameters(flight);
System.out.println("Starting position: "+currentPos);
flight.traject=traject;
System.out.println("Finished updating trajectory ...");
- return traject;
+ return traject;*/
}
private /*static*/ void setInitialParameters(Flight flight) {