.
This commit is contained in:
parent
3384a53780
commit
f630d1ef99
@ -11,18 +11,12 @@ import java.util.ArrayList;
|
||||
*
|
||||
* @author Jan
|
||||
*/
|
||||
public interface Pflanze
|
||||
public interface Pflanze extends Position
|
||||
{
|
||||
Position eigenePosition = null;
|
||||
|
||||
void setPosition();
|
||||
//Position lieferePosition();
|
||||
//public void draw();
|
||||
public ArrayList<float[]> getPoints();
|
||||
public int getPositionx();
|
||||
public int getPositiony();
|
||||
public void setPositionx(int x);
|
||||
public void setPositiony(int y);
|
||||
public void setAlgorithm();
|
||||
|
||||
}
|
||||
|
@ -86,43 +86,56 @@ public class PflanzeImpl extends JComponent implements Pflanze
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArrayList<float[]> getPoints()
|
||||
{
|
||||
return pts;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getPositionx()
|
||||
{
|
||||
return positionx;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getPositiony()
|
||||
{
|
||||
return positiony;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPositionx(int x)
|
||||
{
|
||||
positionx = x;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPositiony(int y)
|
||||
{
|
||||
positiony = y;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getflaeche()
|
||||
{
|
||||
return flaeche;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAlgorithm()
|
||||
{
|
||||
pts.removeAll(pts);
|
||||
translateRules();
|
||||
}
|
||||
|
||||
public void setPosition()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setflaeche(int flaeche)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user