feat: People go walkies
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user