aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
blob: 5deaa00ab1d7fe8557968c3c87ef5f70c91cf583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef ENTITIES_H
#define ENTITIES_H

#include <common.h>

class Entities{
public:
	float width;
	float height;
	float speed;
	int type;
	vec2 loc;
	vec2 loci;
	vec2 vel;
	vec2 velg;
	void spawn(float, float);
};

class Player : public Entities{
public:
	Player();
	~Player();
};

#endif // ENTITIES_H