#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# super ( TestLayer , self ) . __init__ ( ) #NEWLINE# self . sprite = Sprite ( 'grossini.png' ) #NEWLINE# self . add ( self . sprite ) #NEWLINE# ( w , h ) = director . get_window_size ( ) #NEWLINE# self . radius = ( h / 3.0 ) #NEWLINE# self . _elapsed = 0.0 #NEWLINE# self . schedule ( h . change_sprite_pos ) #NEWLINE# self . change_sprite_pos ( 0.0 )