diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-12 02:33:30 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-12 02:33:30 -0600 |
commit | f368f2811a3f8ca0a4b9572b300358bd17d8dac1 (patch) | |
tree | b93bda2b6c50c5ce9cb9354be4c24bb0c7123fbf /src/entities/caporale.c | |
parent | 23be929353d4583edbd8621cd755f8a636c3fd90 (diff) |
Maresciallo added
Diffstat (limited to 'src/entities/caporale.c')
-rw-r--r-- | src/entities/caporale.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/entities/caporale.c b/src/entities/caporale.c new file mode 100644 index 0000000..bf95235 --- /dev/null +++ b/src/entities/caporale.c @@ -0,0 +1,19 @@ +#include "caporale.h" +#include "assets.h" +#include "game.h" + +void initCaporale(Entity * entity, Game * game) { + entity->model = &game->assets.models[CAPORATE_ASSET]; + entity->velocity.angularVelocity = (AxisAngle){(Vector3){1.0, 1.0, 1.0}, 1.0}; +} + +void closeCaporale(Entity * entity) { +} + +void updateCaporale(Game * game, Entity * entity) { + entityUpdateRotation(entity); +} + +void drawCaporale(Game * game, Entity * entity) { + entityDraw(entity); +} |