/* * 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; import java.awt.Graphics; /** * * @author Jan */ public class Gartenkomponente implements Position { int flaeche = 50; public int positionx = 0; public int positiony = 0; public void setflaeche(int flaeche) { } public void setPositionx(int x) { positionx = x; } public void setPositiony(int y) { positiony = y; } public int getflaeche() { return flaeche*flaeche; } public int getPositionx() { return positionx; } public int getPositiony() { return positiony; } public void paintComponent(Graphics g) { } }