This commit is contained in:
2024-06-14 01:03:45 +02:00
parent e59cbb88f1
commit 7972c9088c
68 changed files with 165 additions and 4928 deletions

View File

@@ -1,9 +1,9 @@
package logistics;
package uebung05.logistics;
import logistics.quantities.FloatUnit;
import logistics.quantities.IntUnit;
import logistics.quantities.NeedCollector;
import logistics.quantities.Unit;
import uebung05.logistics.quantities.FloatUnit;
import uebung05.logistics.quantities.IntUnit;
import uebung05.logistics.quantities.NeedCollector;
import uebung05.logistics.quantities.Unit;
import java.util.ArrayList;
import java.util.List;
@@ -63,7 +63,7 @@ public class Manager {
*
* @return The NeedCollector object containing the needs of all the vehicles
*/
NeedCollector collectNeeds() {
public NeedCollector collectNeeds() {
NeedCollector collector = new NeedCollector();
for (Vehicle vehicle : vehicles) {
vehicle.reportNeeds(collector);