Beispiel #1
0
class PredatorFish(Fish):
	def __init__(self, color=""):
		super(PredatorFish, self).__init__(data.fish.predator, color)

		self.agent = PredatorAgent()

	def update(self, dt, fishes):
		self.agent.update(self, dt, fishes)
Beispiel #2
0
	def __init__(self, color=""):
		super(PredatorFish, self).__init__(data.fish.predator, color)

		self.agent = PredatorAgent()