#ifndef PLAYER_H_ #define PLAYER_H_ #include struct Player { float pos_x, pos_y; double vel_x, vel_y; int accel_x, accel_y; int max_vel_x, max_vel_y; int hp; SDL_Vertex *geometry; int geometry_len; }; enum Direction { UP, DOWN, LEFT, RIGHT, }; void player_accelerate(struct Player *player, int x, int y, float delta); void player_move(struct Player *player, enum Direction direction, float delta); #endif // PLAYER_H_