blob: 568d056333131a8686230ecb1ee2b7815eb8676e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "maresciallo.h"
#include "assets.h"
#include "game.h"
void initMaresciallo(Entity * entity, Game * game) {
entity->model = &game->assets.models[MARESCIALLO_ASSET];
entity->velocity.angularVelocity = (AxisAngle){(Vector3){1.0, 1.0, 1.0}, 1.0};
}
void closeMaresciallo(Entity * entity) {
}
void updateMaresciallo(Game * game, Entity * entity) {
entityUpdateRotation(entity);
}
void drawMaresciallo(Game * game, Entity * entity) {
entityDraw(entity);
}
|