hi all,
consider these lines :
ExtinguishRequest.java:94
source.setWaterUsed(source.getWaterUsed()+quantity);
FireBrigade.java:54
waterUsed+=quantity;
having both of these lines leads to a problem when trying to use more than
a nozzle!
so one of above lines should be changed to add "quantity" only once.
one of these solutions could be used (only one!):
ExtinguishRequest.java:94
source.setWaterUsed(quantity);
FireBrigade.java:54
waterUsed = quantity;
have fun,
Mohammad Mehdi Saboorian
member of SBCe_Saviour
_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s@mailman.cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
This archive was generated by hypermail 2.1.3 : Sat 18 Jun 2005 - 14:24:20 GMT