aboutsummaryrefslogtreecommitdiff
path: root/player.h
blob: da1605e27df3e02e1f7e7e0b48fd40d3ccbfec46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef player_h
#define player_h

struct World;

typedef struct {
	int entity;
	int face;
	int ldx, ldy;
	int shoot_cooldown;
	int shoot_countdown;
} Player;

void init_player(Player* player, struct World* world);
void update_player(Player* player, struct World* world);

#endif