Pre-update logic for the player character. More...
#include <player.h>Functions | |
| int | Player_Preupdate () |
| [PreUpdate] Resets player state at the beginning of each frame | |
Pre-update logic for the player character.
Handles preliminary player state updates that need to occur before main game systems are updated.
Clears movement and location flags to ensure they're recalculated each frame, and resets direction vector if not locked.
| int Player_Preupdate | ( | ) |
[PreUpdate] Resets player state at the beginning of each frame
Pre-update operations for player.
Clears movement and location flags to ensure they're recalculated each frame, and resets direction vector if not locked.