This commit is contained in:
LunarAkai 2025-08-19 23:32:35 +02:00
commit e48fff45f0
4 changed files with 21 additions and 2 deletions

View file

@ -39,9 +39,18 @@ So far these parts have been published:
![](/docs/engine_design.drawio.png)
### Game Loop:
### Game Loop
![](/docs/game_loop.drawio.png)
window_update()
- is concerned about handling input
- checks if the window moves/minimizes,...
update()
- for example: calculates npc movement, etc.
render()
- renders updated game state to the screen