Panda3D
|
This class is used to define the flock attributes and the AI characters which are part of the flock. More...
#include "flock.h"
Public Types | |
typedef std::vector < AICharacter * > | AICharList |
Public Member Functions | |
Flock (unsigned int flock_id, double vcone_angle, double vcone_radius, unsigned int separation_wt=2, unsigned int cohesion_wt=4, unsigned int alignment_wt=1) | |
void | add_ai_char (AICharacter *ai_char) |
This function adds AI characters to the flock. | |
unsigned int | get_id () |
Public Attributes | |
AICharList | _ai_char_list |
unsigned int | _alignment_wt |
unsigned int | _cohesion_wt |
double | _flock_vcone_angle |
double | _flock_vcone_radius |
unsigned int | _separation_wt |
This class is used to define the flock attributes and the AI characters which are part of the flock.
void Flock::add_ai_char | ( | AICharacter * | ai_char | ) |