Adoranda/include/player.h

15 lines
216 B
C
Raw Normal View History

2021-07-29 18:33:22 +02:00
#pragma once
#include "animation.h"
2021-08-07 01:49:03 +02:00
#include "engine.h"
2021-07-29 18:33:22 +02:00
struct player {
int x, y;
int direction;
int frame;
2021-08-04 20:12:53 +02:00
int show_x, show_y;
int idle;
struct anim_data anim;
2021-07-29 18:33:22 +02:00
};
2021-08-07 01:49:03 +02:00
int player_facing(struct game const *game);