public BoidActionSeparation(World world,int id) { _world = world; _id = id; _flee = new BoidActionFlee(); _wander = new BoidActionWander(); }
public BoidCombinedActionFCAS(Boid boid, IList<Boid> boidList, IList<Boid> predatorBoidsList, int cohesionRadius) { _boidList = boidList; _randomPredatorBoidsList = predatorBoidsList; _fleeAction = new BoidActionFlee(); _cohesionAction = new BoidActionCohesion(boid, boidList, cohesionRadius); _aligmentAction = new BoidActionAligment(boid, boidList); _separateAction = new BoidActionSeparate(boid, boidList); }