From b4ee6317db3d23df8087ffc3ca1dae30b620f39e Mon Sep 17 00:00:00 2001 From: Apollo Date: Tue, 25 Jun 2019 09:07:03 +0200 Subject: [PATCH] fast fast fertig --- Garten/src/garten/model/Gaertner3.java | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Garten/src/garten/model/Gaertner3.java diff --git a/Garten/src/garten/model/Gaertner3.java b/Garten/src/garten/model/Gaertner3.java new file mode 100644 index 0000000..ac8d754 --- /dev/null +++ b/Garten/src/garten/model/Gaertner3.java @@ -0,0 +1,33 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +package garten.model; + +/** + * + * @author Jan + */ +public class Gaertner3 +{ + private static int tempx, + tempy, + alter, + startlaenge; + + public Gaertner3(int tempx,int tempy,int alter,int startlaenge) + { + this.tempx = tempx; + this.tempy = tempy; + this.alter = alter; + this.startlaenge = startlaenge; + + } + + public Pflanze pflanzen() + { + return new Pflanze3(tempx, tempy, alter,startlaenge); + } +}