aboutsummaryrefslogtreecommitdiff
path: root/src/entity.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-07-12 02:33:30 -0600
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-07-12 02:33:30 -0600
commitf368f2811a3f8ca0a4b9572b300358bd17d8dac1 (patch)
treeb93bda2b6c50c5ce9cb9354be4c24bb0c7123fbf /src/entity.c
parent23be929353d4583edbd8621cd755f8a636c3fd90 (diff)
Maresciallo added
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/entity.c b/src/entity.c
index f4066b5..956c40f 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -1,11 +1,17 @@
#include "entity.h"
#include "entities/antifaShip.h"
#include "entities/soldato.h"
+#include "entities/caporale.h"
+#include "entities/sergente.h"
+#include "entities/maresciallo.h"
// This fucker is used for creating entities.
const EntityTypeInfo entityTypeInfo[ENTITY_TYPE_COUNT] = {
(EntityTypeInfo){initAntifaShip, closeAntifaShip, updateAntifaShip, drawAntifaShip},
- (EntityTypeInfo){initSoldato, closeSoldato, updateSoldato, drawSoldato}
+ (EntityTypeInfo){initSoldato, closeSoldato, updateSoldato, drawSoldato},
+ (EntityTypeInfo){initCaporale, closeCaporale, updateCaporale, drawCaporale},
+ (EntityTypeInfo){initSergente, closeSergente, updateSergente, drawSergente},
+ (EntityTypeInfo){initMaresciallo, closeMaresciallo, updateMaresciallo, drawMaresciallo}
};
EntityVelocity entityVelocityIdentity() {