feat: People go walkies

This commit is contained in:
2025-10-05 16:49:18 +01:00
parent 394366480b
commit 222575b318
7 changed files with 58 additions and 23 deletions

View File

@@ -16,3 +16,9 @@ void UpdateNPCs(F32 delta, World *world) {
void ProcessEvents(SDL_Event *event, World *world) {
PlayerUpdate(event, &world->player);
}
void RenderWorld(World *world, D_Context *draw) {
for(int i = 0; i < world->npcCount; i++) {
D_Rect(draw, world->npcs[i].collision.pos.x, world->npcs[i].collision.pos.y, .texture = 1);
}
}