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

void initTrash(Entity* entity)
{
  entity->box = entityBoxFromScale(TRASH_SCALE, TRASH_WIDTH, TRASH_HEIGHT);
}

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