From 9b3bbf4ef7c26c1267e8ea99024d9d1acd7f1376 Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 27 Jul 2025 04:46:59 -0600 Subject: Flower --- src/entity.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/entity.c') diff --git a/src/entity.c b/src/entity.c index de5f7f3..2ad7754 100644 --- a/src/entity.c +++ b/src/entity.c @@ -30,6 +30,9 @@ Entity createEntity(EntityId id, Vector3 position) case BUSH: entity.box = entityBoxFromScale(BUSH_SCALE, 174.0, 124.0); break; + case FLOWER: + entity.box = entityBoxFromScale(FLOWER_SCALE, 32.0, 54.0); + break; default: break; } @@ -59,6 +62,10 @@ void updateEntity(Entity* entity, Game* game) DrawBillboard(game->player.camera, game->assets.textures[BUSH_TEXTURE], entity->position, BUSH_SCALE, WHITE); break; + case FLOWER: + DrawBillboard(game->player.camera, game->assets.textures[FLOWER_TEXTURE], + entity->position, FLOWER_SCALE, WHITE); + break; default: break; } -- cgit v1.2.3