#NEWLINE# def __init__( self , x , y , color_code , width , height ) : #NEWLINE# #INDENT# WorldObject . __init__ ( self , x , y , width , height ) #NEWLINE# self . color_code = color_code #NEWLINE# self . assets = '' #NEWLINE# self . scanned_frame = 0 #NEWLINE# self . distance_moved = 0 #NEWLINE# self . jumping = False #NEWLINE# self . direction = 'right' #NEWLINE# self . idle = True #NEWLINE# self . collision_group = pygame . sprite . Group ( ) #NEWLINE# self . land_group = pygame . sprite . Group ( ) #NEWLINE# self . button_group = pygame . sprite . Group ( ) #NEWLINE# self . interaction_group = pygame . sprite . Group ( ) #NEWLINE# self . moveable_group = pygame . sprite . Group ( ) #NEWLINE# self . lock_group = pygame . sprite . Group ( ) #NEWLINE# self . key_group = pygame . sprite . Group ( ) #NEWLINE# self . idle_frames = '' #NEWLINE# self . jump_frames = '' #NEWLINE# self . frames = ''