34 lines
664 B
Java
34 lines
664 B
Java
/*
|
|
* 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 Gaertner2
|
|
{
|
|
private static int tempx,
|
|
tempy,
|
|
alter,
|
|
startlaenge;
|
|
|
|
public Gaertner2(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 Pflanze2(tempx, tempy, alter,startlaenge);
|
|
}
|
|
}
|