blob: 89378bb1d947b2e69e82c26b14f1b76a772c14c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "flower.h"
void initFlower(Entity* entity)
{
entity->box = entityBoxFromScale(FLOWER_SCALE, FLOWER_WIDTH, FLOWER_HEIGHT);
}
void updateFlower(Entity* entity, Game* game)
{
DrawBillboard(game->player.camera, game->assets.textures[FLOWER_TEXTURE],
entity->position, FLOWER_SCALE, WHITE);
}
|