Beispiel #1
0
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)
Beispiel #2
0
	def __init__(self, color=""):
		super(SmallFish, self).__init__(data.fish.fish, color)

		self.agent = FishAgent()