Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions

# Flock Class Reference

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

List of all members.

## Public Member Functions
| Flock (unsigned int flock_id, double vcone_angle, double vcone_radius, unsigned int separation_wt, unsigned int cohesion_wt, unsigned int alignment_wt)
| Flock (unsigned int flock_id, double vcone_angle, double vcone_radius, unsigned int separation_wt, unsigned int cohesion_wt)
| Flock (unsigned int flock_id, double vcone_angle, double vcone_radius)
| Flock (unsigned int flock_id, double vcone_angle, double vcone_radius, unsigned int separation_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.

## Constructor & Destructor Documentation

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

Flock | ( | unsigned int | flock_id,
|  | double | vcone_angle,
|  | double | vcone_radius,
|  | unsigned int | separation_wt,
|  | unsigned int | cohesion_wt
| ) |  |

Flock | ( | unsigned int | flock_id,
|  | double | vcone_angle,
|  | double | vcone_radius,
|  | unsigned int | separation_wt
| ) |  |

Flock | ( | unsigned int | flock_id,
|  | double | vcone_angle,
|  | double | vcone_radius
| ) |  |

## Member Function Documentation

addAiChar | ( | AICharacter | ai_char | ) |

This function adds AI characters to the flock.

unsigned int getId | ( |  | ) |

All Classes Namespaces Functions Variables Enumerations Enumerator Properties