47 lines
988 B
C++
47 lines
988 B
C++
//
|
|
// greatWhole.hpp
|
|
// emptyExample
|
|
//
|
|
// Created by Sebastian Holzki on 17.04.19.
|
|
//
|
|
|
|
#include <stdio.h>
|
|
#include "ofMain.h"
|
|
#include "checkedInVisitor.hpp"
|
|
|
|
#pragma once
|
|
|
|
|
|
/* Das Große Ganze beinhaltet eine unbestimmte Anzahl an bereits eingecheckten Personen, deren Infos in Avatare gespeichert werden.
|
|
Es bedarf eine setup(), update() und draw()-Methode. Dabei soll Platz für den vector<Avatar> geschaffen werden. In update wird eine
|
|
gewisse Bewegung der Avatar-"Bubbles" definiert. Draw zeichnet die Avatare auf die Stelen, also die entsprechenden Koordinaten. */
|
|
|
|
|
|
class GreatWhole {
|
|
|
|
|
|
public:
|
|
|
|
GreatWhole();
|
|
~GreatWhole();
|
|
|
|
void setup();
|
|
void update(vector<CheckedInVisitor*> checkedInVisitors);
|
|
void draw();
|
|
|
|
void addCheckedInVisitor(CheckedInVisitor checkedInVisitors);
|
|
CheckedInVisitor getCheckedInVisitorAt(int i);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
vector<CheckedInVisitor*> checkedInVisitors;
|
|
int rows;
|
|
|
|
|
|
|
|
|
|
};
|