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

void initStickyNickel(Entity* entity)
{
  entity->box = entityBoxFromScale(1.0, STICKY_NICKEL_WIDTH,
                                   STICKY_NICKEL_HEIGHT);
}

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