aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
blob: 1cf2a32d2ccc8c36861fc8aca8818190dcd585ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <entities.h>

void Entities::spawn(float x, float y){
	loc.x = x;
	loc.y = y;
	loci.x = loc.x;
	loci.y = loc.y;
	vel.x = 0;
	vel.y = 0;
	velg.x = 0;
	velg.y = 0;
}

Player::Player(){
	width = HLINE * 6;
	height = HLINE * 16;
	speed = 1;
	type = 0;
}

Player::~Player(){}