From e5268813dcbdc0d90a081b2223ebc21749038635 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Fri, 7 Jul 2023 23:10:23 -0600 Subject: Better world --- src/entities/soldato.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/entities/soldato.c (limited to 'src/entities/soldato.c') diff --git a/src/entities/soldato.c b/src/entities/soldato.c new file mode 100644 index 0000000..c1903d4 --- /dev/null +++ b/src/entities/soldato.c @@ -0,0 +1,18 @@ +#include "soldato.h" +#include "game.h" + +void initSoldato(Entity * entity, Game * game) { + entity->model = &game->assets.models[ANTIFA_SHIP_ASSET]; + entity->velocity.angularVelocity = (AxisAngle){(Vector3){1.0, 1.0, 1.0}, 1.0}; +} + +void closeSoldato(Entity * entity) { +} + +void updateSoldato(Game * game, Entity * entity, EntityId id) { + entityUpdateRotation(entity); +} + +void drawSoldato(Game * game, Entity * entity, EntityId id) { + entityDraw(entity); +} -- cgit v1.2.3