]> Git Server - tankstelle.git/commitdiff
set method
authorNils\Goebbert <adamantschild@gmail.com>
Mon, 10 Nov 2025 09:33:02 +0000 (10:33 +0100)
committerNils\Goebbert <adamantschild@gmail.com>
Mon, 10 Nov 2025 09:33:02 +0000 (10:33 +0100)
src/main/java/de/diejungsvondertanke/tankstelle/Fuel.java
src/main/java/de/diejungsvondertanke/tankstelle/FuelStation.java

index eab68e0d0b5a15f536a32939f7c6b17885a811b1..4d389b20f5ed48233be0a2d76619aade917823ef 100644 (file)
@@ -40,4 +40,8 @@ public class Fuel {
         this.price = price;
         this.CAPACITY = capacity;
     }
+
+    public void set_stored_amound (float stored_amount){
+        this.stored_amount = stored_amount;
+    }
 }
index a98d46757accfeaee2030c2df66ab7a1e09900a3..374d8326b66ab24547530e9f4fb8fd24e4acea37 100644 (file)
@@ -44,4 +44,9 @@ abstract class FuelStation {
         this.size = size;
         this.fuels = fuels;
     }
+
+    public void set_stored_amount (float stored_amount, FuelType type){
+        this.
+    }
+
 }