Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
player_postupdate.c File Reference

Post-update logic for the player character. More...

#include <player.h>
#include <app.h>
#include <camera.h>
#include <input.h>

Functions

int Player_PostUpdate ()
 [PostUpdate] Main player update routine
 

Detailed Description

Post-update logic for the player character.

Handles final player state updates after all other game systems have been updated. Includes collision detection, movement finalization, and animation updates.

Author
Mango
Date
2025-03-02

Function Documentation

◆ Player_PostUpdate()

int Player_PostUpdate ( )

[PostUpdate] Main player update routine

Post-update operations for player.

This function is called inside App_PostUpdate(). It updates the player's input, position, and animations in sequence.

Returns
int Status code (0 for success)