initial commit

This commit is contained in:
Sebastian Holzki
2019-06-12 17:18:39 +02:00
parent 55939d9418
commit 32a5a42233
18 changed files with 1443 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
//
// avatar.hpp
// emptyExample
//
// Created by Sebastian Holzki on 17.04.19.
//
#pragma once
#include <stdio.h>
#include "ofMain.h"
class Avatar {
public:
Avatar(int playerType);
~Avatar();
void setup(int playerType);
void update();
void draw();
void setPlayerType();
int getPlayerType();
ofVec2f getPosition();
void setPosition(int x, int y);
void setPosition(ofVec2f position);
void clipToAvatar(Avatar avatar); //A particular avatar can clip its position, depending on the position of another avatar, compared to a beehive-structure)
private:
ofImage icon;
int playerType;
ofVec2f position;
};