#include "entity.h" #include "game.h" // TODO: Entity creation system Entity createEntity(EntityId id, Vector3 position) { Entity entity; entity.id = id; entity.position = position; return entity; } void updateEntity(Entity* entity, Game* game) { switch (entity->id) { case OLD_MINT: DrawBillboard(game->player.camera, game->assets.textures[MINT_TEXTURE], entity->position, 1.0, WHITE); break; case STICKY_NICKEL: DrawBillboard(game->player.camera, game->assets.textures[NICK_TEXTURE], entity->position, 1.0, WHITE); break; default: break; } }