Projektordner für das Team Deutsches Museum (FORUM).
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 610B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. };