diff options
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); +} |