def __init__(self, env=None): if env is None: env = global_env.sprout() Actor.__init__(self, env, maildir_script, True) # XXX the following might run before env is initialized, when # restoring from a snapshot. We should just throw out this # env hack and make something better. for key in env.locals: self.script.add_element(Example(key))
def __init__(self,x=None,y=None,img=None): if x is None and y is None and img is None: Actor.__init__(self) elif x is None and y is None: Actor.__init__(self,None,None,img) else: Actor.__init__(self,x,y,img) self.player_speed = 5 self.health = 20
def __init__(self,x=None,y=None,img=None): if x is None and y is None and img is None: Actor.__init__(self) elif x is None and y is None: Actor.__init__(self,None,None,img) else: Actor.__init__(self,x,y,img) pygame.transform.scale(self.getImage(),(1920,1080)) self.y_speed = 4
def __init__(self, stamp): # XXX global_env is mutable Actor.__init__(self, global_env, stampguard_script, stamp)
def __init__(self): # XXX global_env is mutable Actor.__init__(self, global_env, stamp_maker_script, True)
def __init__(self, sample_instance): # XXX global_env is mutable Actor.__init__(self, global_env, type_guard_script, sample_instance)
def __init__(self): # XXX global_env is mutable Actor.__init__(self, global_env, stamp_script, False)
def __init__(self, elements): # XXX global_env is mutable Actor.__init__(self, global_env, list_script, tuple(elements))
def __init__(self, str): # XXX global_env is mutable Actor.__init__(self, global_env, string_script, str)
def __init__(self, n): # XXX global_env is mutable Actor.__init__(self, global_env, number_script, n)
def __init__(self, script, value): # XXX global_env is mutable Actor.__init__(self, global_env, script, value)
def __init__(self, x, y): """Create a decoration at acnvas coordinates x,y""" self.x = int(x) self.y = int(y) Actor.__init__(self)
def __init__(self, initial_value): # XXX global_env is mutable Actor.__init__(self, global_env, box_script, initial_value)