def update(self): """ Updates the bee sprite Either dies, calls Sprite.hunt for plants or calls Sprite.update """ Sprite.button_ops(self) if self.health_monitor(): return if not Sprite.hunt(self, Global.plant_group): Sprite.update(self)
def update(self): """ Updates the deer sprite Either dies, hunts deer, or calls Sprite.update """ Sprite.button_ops(self) if self.health_monitor(): return if not Sprite.hunt(self, Global.deer_group): Sprite.update(self)