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.

visitor.hpp 615B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // visitor.hpp
  3. // particle_combined
  4. //
  5. // Created by Sebastian Holzki on 11.06.19.
  6. //
  7. #pragma once
  8. #include <stdio.h>
  9. #include "ofMain.h"
  10. class Visitor {
  11. public:
  12. Visitor();
  13. ~Visitor();
  14. void setup();
  15. void setup(float _x, float _y);
  16. void update();
  17. void draw();
  18. //GETTERS
  19. ofVec2f getPosition();
  20. float getX();
  21. float getY();
  22. //SETTERS
  23. void setPosition(float x, float y);
  24. void setPosition(ofVec2f position);
  25. void setX(float _x);
  26. void setY(float _y);
  27. private:
  28. ofVec2f position;
  29. };