Flock Class Reference

#include <flock.h>

List of all members.

Public Types

typedef std::vector
< AICharacter * > 
AICharList

Public Member Functions

 ~Flock ()
void add_ai_char (AICharacter *ai_char)
unsigned int get_id ()

Public Attributes

double _flock_vcone_angle
double _flock_vcone_radius
unsigned int _separation_wt
unsigned int _cohesion_wt
unsigned int _alignment_wt
AICharList _ai_char_list
PUBLISHED __pad0__: Flock(unsigned int flock_id
PUBLISHED double vcone_angle
PUBLISHED double double vcone_radius
PUBLISHED double double
unsigned int 
separation_wt = 2
PUBLISHED double double
unsigned int unsigned int 
cohesion_wt = 4
PUBLISHED double double
unsigned int unsigned int
unsigned int 
alignment_wt = 1)

Detailed Description

Class : Flock Description : This class is used to define the flock attributes and the AI characters which are part of the flock.

Definition at line 31 of file flock.h.


Member Typedef Documentation

typedef std::vector<AICharacter*> Flock::AICharList

Definition at line 47 of file flock.h.


Constructor & Destructor Documentation

Flock::~Flock (  ) 

Definition at line 27 of file flock.cxx.


Member Function Documentation

void Flock::add_ai_char ( AICharacter ai_char  ) 

Function : add_ai_char Description : This function adds AI characters to the flock.

Definition at line 37 of file flock.cxx.

unsigned int Flock::get_id (  ) 

Definition at line 43 of file flock.cxx.


Member Data Documentation

PUBLISHED Flock::__pad0__

Definition at line 51 of file flock.h.

Definition at line 48 of file flock.h.

unsigned int Flock::_alignment_wt

Definition at line 44 of file flock.h.

unsigned int Flock::_cohesion_wt

Definition at line 43 of file flock.h.

Definition at line 37 of file flock.h.

Definition at line 38 of file flock.h.

unsigned int Flock::_separation_wt

Definition at line 42 of file flock.h.

PUBLISHED double double unsigned int unsigned int unsigned int Flock::alignment_wt = 1)

Definition at line 52 of file flock.h.

PUBLISHED double double unsigned int unsigned int Flock::cohesion_wt = 4

Definition at line 52 of file flock.h.

PUBLISHED double double unsigned int Flock::separation_wt = 2

Definition at line 51 of file flock.h.

PUBLISHED double Flock::vcone_angle

Definition at line 51 of file flock.h.

PUBLISHED double double Flock::vcone_radius

Definition at line 51 of file flock.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator

Generated on Tue Dec 8 01:13:17 2009 for Pandai by  doxygen 1.6.1