fast fast fertig
This commit is contained in:
parent
dc87650ab5
commit
b4ee6317db
33
Garten/src/garten/model/Gaertner3.java
Normal file
33
Garten/src/garten/model/Gaertner3.java
Normal file
@ -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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user