class SmallFish(Fish): def __init__(self, color=""): super(SmallFish, self).__init__(data.fish.fish, color) self.agent = FishAgent() def update(self, dt, fishes, food, predators): return self.agent.update(self, dt, fishes, food, predators)
def __init__(self, color=""): super(SmallFish, self).__init__(data.fish.fish, color) self.agent = FishAgent()