def find(self, boid, dist, clazz=None):
    sprite_list = []
    for sprite in self:
        if ((clazz is not None) and (not isinstance(sprite, clazz))):
            continue
        if (sprite == boid):
            continue
        if boid.is_close(sprite, dist):
            sprite_list.append(sprite)
    return sprite_list
def find(self, boid, dist, clazz=None):
    sprite_list = []
    for sprite in self:
        if ((clazz is not None) and (not isinstance(sprite, clazz))):
            continue
        if (sprite == boid):
            continue
        if boid.is_close(sprite, dist):
            sprite_list.append(sprite)
    return sprite_list