TODO Tasks

This commit is contained in:
Asaad Dadoush 2020-11-08 16:34:10 +03:00
parent da8ef062ae
commit 074cb0a59b
4 changed files with 9 additions and 10 deletions

View File

@ -13,7 +13,6 @@ public class Accident {
}
private void setDate(Date date){
//TODO: maybe change to Calendar type
this.date = date;
}

View File

@ -53,7 +53,7 @@ public class Campaign {
}
public void setTimeToLeaveToDest(Date timeToLeaveToDest) {
//TODO: check if date is before or after Project Date
//TODO: Hesham check if date is before or after Project Date
this.timeToLeaveToDest = timeToLeaveToDest;
}
@ -62,7 +62,7 @@ public class Campaign {
}
public void setTimeToLeaveToHousing(Date timeToLeaveToHousing) {
//TODO: check if date is before or after Project Date
//TODO: Hesham check if date is before or after Project Date
this.timeToLeaveToHousing = timeToLeaveToHousing;
}
@ -79,11 +79,11 @@ public class Campaign {
}
public void setVehicles(Vehicle[] vehicles){
/*TODO: check if vehicles is not null then set vehicles. */
/*TODO: Osama check if vehicles is not null then set vehicles. */
}
public void generateBusses(int number){
/*TODO: generate "number" of busses and set them to vehicles array. */
/*TODO: Asaad generate "number" of busses and set them to vehicles array. */
}
private void generateUID() {

View File

@ -41,7 +41,7 @@ public class Street {
public double capcity() {
double totalLength = length * numberOfLanes;
//TODO return (total length - (length of cars + padding))
//TODO Ammar return (total length - (length of cars + padding))
return 0;
}
@ -51,9 +51,9 @@ public class Street {
else
return true;
}
/*
public void addVehicle( Vehicle vehicle ) {
//TODO
//TODO Ammar
}
*/
}

View File

@ -9,7 +9,7 @@ public class TrafficPoliceCar extends Vehicle implements CanBeGovtCar, CanFixAcc
*/
public TrafficPoliceCar(double vehicleSize){
super(vehicleSize);
//TODO: Set random govtID
//TODO: Osamah Set random govtID
}
/**