19 #include "aiGlobals.h" 20 #include "aiCharacter.h" 34 unsigned int _flock_id;
38 double _flock_vcone_angle;
39 double _flock_vcone_radius;
43 unsigned int _separation_wt;
44 unsigned int _cohesion_wt;
45 unsigned int _alignment_wt;
48 typedef std::vector<AICharacter*> AICharList;
49 AICharList _ai_char_list;
52 Flock(
unsigned int flock_id,
double vcone_angle,
double vcone_radius,
unsigned int separation_wt = 2,
53 unsigned int cohesion_wt = 4,
unsigned int alignment_wt = 1);
60 unsigned int get_id();
This class is used to define the flock attributes and the AI characters which are part of the flock...