1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef PLAYER_H #define PLAYER_H #include <raylib.h> #include "entity.h" typedef struct player { Vector3 pos; Vector3 velocity; Camera3D camera; Vector3 hitbox; int speed; short is_on_floor; } Player; void handleMovement(Player *player); #endif