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

void initMedicalTrash(Entity* entity)
{
  entity->box = entityBoxFromScale(MEDICAL_TRASH_SCALE, MEDICAL_TRASH_WIDTH,
                                   MEDICAL_TRASH_HEIGHT);
}

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