Enum erstellen
public enum TreeType {
BERGAHORN("Bergahorn",-0.62466,0.73312,-0.00482),
DOUGLASIE("Douglasie",-2.13785,0.91597,-0.00375),
ESCHE("Esche",-7.97623,1.40182,-0.01011);
private final String name;
public final double A;
public final double B;
public final double C;
private TreeType(String name, double A, double B, double C){
this.name = name;
this.A = A;
this.B = B;
this.C = C;
}
public String getName(){
return this.name;
}