blob: c1903d4fea04fab680ec500bee02ba50ef57c4bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
}
|