aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
blob: e50c77a32579c58e5da3e61e7bfdb8d50dd4b39b (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
26
27
28
29
30
#ifndef ENTITIES_H
#define ENTITIES_H

#include <common.h>

class Entities{
public:
	float width;
	float height;
	float speed;
	int type;
	vec2 loc;
	vec2 vel;
	bool right,left;

	void spawn(float, float);
};

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

class NPC : public Entities{
public:
	NPC();
};

#endif // ENTITIES_H