15 lines
240 B
C
15 lines
240 B
C
#ifndef PLAYER_H
|
|
#define PLAYER_H
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
uint16_t x;
|
|
uint16_t y;
|
|
} player_t;
|
|
|
|
player_t player_create(uint16_t x, uint16_t y);
|
|
void player_process_action(player_t *player, const char *action);
|
|
|
|
#endif
|