aboutsummaryrefslogtreecommitdiff
path: root/src/entities/generale.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-07-13 20:57:32 -0600
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-07-13 20:57:32 -0600
commit9eeb5293fc0d022298fb772338241aa7e8672dac (patch)
treed6ddbaf8f0398d6c83125a64a8c42e1c71ea48b4 /src/entities/generale.c
parentf368f2811a3f8ca0a4b9572b300358bd17d8dac1 (diff)
Half working mussolini
Diffstat (limited to 'src/entities/generale.c')
-rw-r--r--src/entities/generale.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/entities/generale.c b/src/entities/generale.c
new file mode 100644
index 0000000..8e86e3f
--- /dev/null
+++ b/src/entities/generale.c
@@ -0,0 +1,19 @@
+#include "generale.h"
+#include "assets.h"
+#include "game.h"
+
+void initGenerale(Entity * entity, Game * game) {
+ entity->model = &game->assets.models[GENERALE_ASSET];
+ entity->velocity.angularVelocity = (AxisAngle){(Vector3){1.0, 1.0, 1.0}, 1.0};
+}
+
+void closeGenerale(Entity * entity) {
+}
+
+void updateGenerale(Game * game, Entity * entity) {
+ entityUpdateRotation(entity);
+}
+
+void drawGenerale(Game * game, Entity * entity) {
+ entityDraw(entity);
+}