]> Git Server - tankstelle.git/commitdiff
added Constructor
authorRobin Cheney <cheneyr@eternal.ddnss.de>
Wed, 5 Nov 2025 05:57:36 +0000 (06:57 +0100)
committerRobin Cheney <cheneyr@eternal.ddnss.de>
Wed, 5 Nov 2025 05:57:36 +0000 (06:57 +0100)
src/main/java/de/eternal/tankstelle/Tankstelle.java

index 598c6bad80aa2aadd937f96e885c4e9527c64e37..6affe2fbe7d4c0d8a8d2f072376922b014f0ae2a 100644 (file)
@@ -4,4 +4,8 @@ public class Tankstelle {
     byte mitarbeiterzahl;
     Treibstoff[] treibstoffe;
 
+    public Tankstelle(byte mitarbeiterzahl, Treibstoff[] treibstoffe) {
+        this.mitarbeiterzahl = mitarbeiterzahl;
+        this.treibstoffe = treibstoffe;
+    }
 }