blob: eb336db4faa67e53eaabc0181c50915932241d20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "gameCommon.h"
#include "entity.h"
#include "PID.h"
#ifndef SOLDATO_H
#define SOLDATO_H
typedef struct Soldato {
EntityFlyToPointInfo flyToPointLeading;
EntityFlyToPointInfo flyToPointFollowing;
} Soldato;
void initSoldato(Entity * entity, Game * game);
void closeSoldato(Entity * entity);
void updateSoldato(Game * game, Entity * entity);
void drawSoldato(Game * game, Entity * entity);
void setSoldatoLeader(Entity * entity1, Entity * entity2);
#endif
|