diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-07 23:10:23 -0600 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-07-07 23:10:23 -0600 |
commit | e5268813dcbdc0d90a081b2223ebc21749038635 (patch) | |
tree | 7c917996749e4123fb1fe49ddd1ed3b8f7e92334 /src/entities/soldato.c | |
parent | a90e1987de75cfecc2693952625af8cce507ae95 (diff) |
Better world
Diffstat (limited to 'src/entities/soldato.c')
-rw-r--r-- | src/entities/soldato.c | 18 |
1 files changed, 18 insertions, 0 deletions
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); +} |