from import Flock
class Flock

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

Inheritance diagram

Inheritance diagram of Flock

__init__(param0: Flock) → None
__init__(flock_id: int, vcone_angle: float, vcone_radius: float, separation_wt: int, cohesion_wt: int, alignment_wt: int) → None
addAiChar(ai_char: AICharacter) → None

This function adds AI characters to the flock.

getId() → int

Function to access the private member flock_id.