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.

greatWhole.hpp 861B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // greatWhole.hpp
  3. // emptyExample
  4. //
  5. // Created by Sebastian Holzki on 17.04.19.
  6. //
  7. #include <stdio.h>
  8. #include "ofMain.h"
  9. #include "avatar.hpp"
  10. #pragma once
  11. /* Das Große Ganze beinhaltet eine unbestimmte Anzahl an bereits eingecheckten Personen, deren Infos in Avatare gespeichert werden.
  12. Es bedarf eine setup(), update() und draw()-Methode. Dabei soll Platz für den vector<Avatar> geschaffen werden. In update wird eine
  13. gewisse Bewegung der Avatar-"Bubbles" definiert. Draw zeichnet die Avatare auf die Stelen, also die entsprechenden Koordinaten. */
  14. class GreatWhole {
  15. public:
  16. GreatWhole();
  17. ~GreatWhole();
  18. void setup();
  19. void update(vector<Avatar*> avatars);
  20. void draw();
  21. void addAvatar(Avatar avatar);
  22. Avatar getAvatarAt(int i);
  23. private:
  24. vector<Avatar*> avatars;
  25. };