Projektteil 2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Endpunkt.java 670B

1234567891011121314151617181920212223242526272829303132333435363738
  1. package de.edotzlaff.detection.detektion.berechnung;
  2. import de.edotzlaff.detection.detektion.berechnung.mathObjekte.Kreis;
  3. public class Endpunkt {
  4. public String nutzer;
  5. public String getNutzer() {
  6. return nutzer;
  7. }
  8. public void setNutzer(String nutzer) {
  9. this.nutzer = nutzer;
  10. }
  11. public Kreis getKreis() {
  12. return kreis;
  13. }
  14. public void setKreis(Kreis kreis) {
  15. this.kreis = kreis;
  16. }
  17. public Kreis kreis;
  18. public Endpunkt(String nutzer)
  19. {
  20. this.nutzer = nutzer;
  21. }
  22. public void erhoeheRadius(double deltaR)
  23. {
  24. kreis.setRadius(kreis.getRadius() + deltaR);
  25. }
  26. }