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