aboutsummaryrefslogtreecommitdiff
path: root/src/entities/soldato.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-07-07 23:10:23 -0600
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-07-07 23:10:23 -0600
commite5268813dcbdc0d90a081b2223ebc21749038635 (patch)
tree7c917996749e4123fb1fe49ddd1ed3b8f7e92334 /src/entities/soldato.c
parenta90e1987de75cfecc2693952625af8cce507ae95 (diff)
Better world
Diffstat (limited to 'src/entities/soldato.c')
-rw-r--r--src/entities/soldato.c18
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);
+}