Moved game-logic to game_world_tick(..)

This commit is contained in:
2025-12-18 13:33:08 +01:00
parent c1f43fdc61
commit 49732d8b27
3 changed files with 160 additions and 150 deletions

View File

@@ -25,6 +25,8 @@ void game_world_destroy(Game_World *world);
bool game_world_create_entity(Game_World *world, Entity_Type type, uint16_t x, uint16_t y, Entity_ID *out_entity_id);
void game_world_destroy_entity(Game_World *world, Entity_ID entity_id, bool destroy_children);
void game_world_tick(Game_World *world);
// TODO: SS - "void game_world_spawn_player(Game_World *world, ..)"
Entity *game_world_try_get_entity_by_id(Game_World *world, Entity_ID id);