1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#ifndef GAME_PLAYER_H #define GAME_PLAYER_H #include "raylib.h" #include "input.h" typedef struct { Vector3 position; Vector3 direction; float speed; Color color; } Player; void drawPlayer(Player *player); void movePlayer(Player *player); #endif