def __init__( self, creature, look_at_arg = None, run_time= 0.5, **kwargs ): assert hasattr(creature, "bubble") if look_at_arg: creature.target.look_at(look_at_arg) AnimationGroup.__init__( self, Uncreate(creature.bubble), FadeOut(creature.bubble.content), run_time = run_time )
def _remove_line_animation(self): self.remove_line() return Uncreate(self.line)
def _remove_line_animation(self, anim_args=None): if anim_args is None: anim_args = {} self.remove_line() return Uncreate(self.line, **anim_args)