def __init__(self, x, y, size, color): Circle.__init__(self, (x, y), size) self.x = x self.y = y self.size = size self.color = color self.set_color(color)
def __init__(self, x, y, radius, color, speed_v=np.zeros(2)): mass = math.exp(radius) Circle.__init__(self, (x, y), radius) bodyObject.__init__(self, mass, np.array([x, y]), speed_v) self.set_color(color) self.x = x self.y = y self.color = color
def __init__(self, x, y, z, r, *args, **kwargs): Circle.__init__(self, (0,0), r, *args, **kwargs) self._verts3d = x, y, z
def __init__(self, message, net, direction, *args, **kwargs): Circle.__init__(self, self._get_pos(message, net, direction), *args, **kwargs)
def __init__(self, xy, *args, **kwargs): Circle.__init__(self, xy, *args, **kwargs)
def __init__(self, xy, radius, **kwargs): Circle.__init__(self, xy, radius, **kwargs) self.speed = (0, 0)
def __init__(self, xy, radius=5, **kwargs): Circle.__init__(self, xy, radius, **kwargs) self._path = Path([[-1, 0], [1,0], [0,-1], [0, 1]], [Path.MOVETO, Path.LINETO, Path.MOVETO, Path.LINETO])