diff options
Diffstat (limited to 'src/entities/trash.c')
| -rw-r--r-- | src/entities/trash.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/entities/trash.c b/src/entities/trash.c new file mode 100644 index 0000000..627276f --- /dev/null +++ b/src/entities/trash.c @@ -0,0 +1,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); +} |
