Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Flock Class Reference

This class is used to define the flock attributes and the AI characters which are part of the flock. More...

#include <pandadoc.hpp>

Public Member Functions

 __init__ (const Flock)
 
 __init__ (unsigned int flock_id, double vcone_angle, double vcone_radius, unsigned int separation_wt, unsigned int cohesion_wt, unsigned int alignment_wt)
 
 addAiChar (AICharacter ai_char)
 This function adds AI characters to the flock.
 
unsigned int getId ()
 

Detailed Description

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

Member Function Documentation

◆ __init__() [1/2]

__init__ ( const Flock )

◆ __init__() [2/2]

__init__ ( unsigned int flock_id,
double vcone_angle,
double vcone_radius,
unsigned int separation_wt,
unsigned int cohesion_wt,
unsigned int alignment_wt )

◆ addAiChar()

addAiChar ( AICharacter ai_char)

This function adds AI characters to the flock.

◆ getId()

unsigned int getId ( )