aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities/flower.c
blob: 00f27fcbe5c55774839a28e9da29dd4ad4f4e6c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "flower.h"

void initFlower(Entity* entity)
{
  entity->box = entityBoxFromScale(1.0, FLOWER_WIDTH, FLOWER_HEIGHT);
}

void updateFlower(Entity* entity, Game* game)
{
  DrawBillboard(game->player.camera, game->assets.textures[FLOWER_TEXTURE],
                  entity->position, 1.0, WHITE);
}