aboutsummaryrefslogtreecommitdiff
path: root/src/player.h
blob: 4d3288120cc7bb8c242418e49ed7bba8e6bb1acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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();

#endif /* _PLAYER_H */