freak-engine/include/player.h

14 lines
212 B
C
Raw Permalink Normal View History

2021-06-11 01:32:47 +02:00
#pragma once
#include "entity.h"
struct Player {
struct Entity;
float spd_x;
float spd_y;
float rem_x;
float rem_y;
};
2021-06-11 13:53:22 +02:00
void player_init(struct Player *, int x, int y);
void player_update(struct Player *);