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

void player_init(uint16_t start_x, uint8_t start_y, uint8_t start_dir);
void player_update();

void player_erase();
void player_draw();

uint8_t player_collision(Entity *e);
uint8_t player_collision_pickup(Entity *e);
void player_hit();

uint16_t player_x();
uint16_t player_y();

#endif /* _PLAYER_H */