From f368f2811a3f8ca0a4b9572b300358bd17d8dac1 Mon Sep 17 00:00:00 2001 From: nathansmithsmith <thenathansmithsmith@gmail.com> Date: Wed, 12 Jul 2023 02:33:30 -0600 Subject: Maresciallo added --- src/entities/maresciallo.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/entities/maresciallo.c (limited to 'src/entities/maresciallo.c') diff --git a/src/entities/maresciallo.c b/src/entities/maresciallo.c new file mode 100644 index 0000000..568d056 --- /dev/null +++ b/src/entities/maresciallo.c @@ -0,0 +1,19 @@ +#include "maresciallo.h" +#include "assets.h" +#include "game.h" + +void initMaresciallo(Entity * entity, Game * game) { + entity->model = &game->assets.models[MARESCIALLO_ASSET]; + entity->velocity.angularVelocity = (AxisAngle){(Vector3){1.0, 1.0, 1.0}, 1.0}; +} + +void closeMaresciallo(Entity * entity) { +} + +void updateMaresciallo(Game * game, Entity * entity) { + entityUpdateRotation(entity); +} + +void drawMaresciallo(Game * game, Entity * entity) { + entityDraw(entity); +} -- cgit v1.2.3