movey boy

This commit is contained in:
2025-10-04 15:53:55 +01:00
parent 7a27309c5b
commit a6266a336b
3 changed files with 86 additions and 40 deletions

11
code/game/player.h Normal file
View File

@@ -0,0 +1,11 @@
#include "core/types.h"
#include <SDL3/SDL_events.h>
#include "../core/macros.h"
typedef struct Player Player;
struct Player
{
V2f pos;
};
function void PlayerUpdate(SDL_Event *event, Player *player);