projects
/
gbajam22
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7636af5f36a0b2d88aa05e2c060000f4a32c3851
[gbajam22]
/
src
/
player.h
1
#ifndef PLAYER_H_
2
#define PLAYER_H_
3
4
#include <stdint.h>
5
6
struct cell;
7
struct level;
8
9
struct player {
10
int32_t x, y;
11
int32_t theta, phi;
12
int cx, cy;
13
struct cell *cell;
14
};
15
16
void init_player(struct player *p, struct level *lvl);
17
void player_input(struct player *p, uint16_t bnstate);
18
19
#endif /* PLAYER_H_ */