def update(self, interval):
        "Run the AI code of each fish before updating positions."
        for fish in self.fish_deque:
            fish.run_AI(self.fish_deque)
        for fish in self.fish_deque:
            fish.update(interval)
Run the AI code of each fish before updating positions.
recipes/Python/578007_processing_DEMO_Boids/recipe-578007.py