Quelcode des Partikelsystems Boden
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.

attractor.hpp 392B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // attractor.hpp
  3. // emptyExample
  4. //
  5. // Created by Sebastian Holzki on 16.04.19.
  6. //
  7. #pragma once
  8. #include <stdio.h>
  9. class Attractor {
  10. public:
  11. Attractor();
  12. ~Attractor();
  13. float getX();
  14. float getY();
  15. void setX(float x);
  16. void setY(float y);
  17. void updateCoordinates(float x, float y);
  18. private:
  19. float x;
  20. float y;
  21. };