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

void initBush(Entity* entity)
{
  entity->box = entityBoxFromScale(1.0, BUSH_WIDTH, BUSH_HEIGHT);
}

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