2025-10-04 21:58:14 +01:00
|
|
|
#if !defined(LD_GAME_PLAYER_H_)
|
|
|
|
|
#define LD_GAME_PLAYER_H_
|
|
|
|
|
|
|
|
|
|
#include "../core/types.h"
|
2025-10-04 15:53:55 +01:00
|
|
|
#include "../core/macros.h"
|
|
|
|
|
|
2025-10-04 21:58:14 +01:00
|
|
|
#include <SDL3/SDL_events.h>
|
|
|
|
|
|
2025-10-04 15:53:55 +01:00
|
|
|
typedef struct Player Player;
|
|
|
|
|
struct Player
|
|
|
|
|
{
|
|
|
|
|
V2f pos;
|
|
|
|
|
};
|
|
|
|
|
|
2025-10-04 21:58:14 +01:00
|
|
|
function void PlayerUpdate(SDL_Event *event, Player *player);
|
|
|
|
|
|
|
|
|
|
#endif // LD_GAME_PLAYER_H_
|