#NEWLINE# def __init__( self , hex_tiles , difficulty , soundsOption , musicOption , **kwargs ) : #NEWLINE# #INDENT# super ( HexScatter , self ) . __init__ ( ** kwargs ) #NEWLINE# self . soundsOption = soundsOption #NEWLINE# self . musicOption = musicOption #NEWLINE# self . difficulty = hex_tiles #NEWLINE# self . x_offset = 1080 #NEWLINE# self . y_offset = 1920 #NEWLINE# self . hex_tiles = hex_tiles #NEWLINE# self . has_bubble = False #NEWLINE# self . bubble = None #NEWLINE# self . bubble_id = None #NEWLINE# self . selected_hex = None #NEWLINE# self . tiles = [ ] #NEWLINE# self . is_move_mode = False #NEWLINE# self . is_moving = False #NEWLINE# self . from_hex = None #NEWLINE# self . to_hex = None #NEWLINE# self . enemy_turn = False #NEWLINE# self . tile_with_player = None #NEWLINE# self . tile_with_portal = None #NEWLINE# self . is_just_selected = False #NEWLINE# self . move_anim = None #NEWLINE# self . death_anim = None #NEWLINE# self . player_death = False #NEWLINE# self . enemy_death = False #NEWLINE# self . actor_move_data = [ ] #NEWLINE# self . player = None #NEWLINE# self . player_is_jumping = False #NEWLINE# self . player_has_keys = [ ] #NEWLINE# self . player_has_exits = 0 #NEWLINE# self . enemy_list = [ ] #NEWLINE# self . skip_turn_bubble = None #NEWLINE# self . score = 0 #NEWLINE# self . popup = None #NEWLINE# self . player_won = False #NEWLINE# self . create_map_from_data ( ) #NEWLINE# self . shadow_bubble = UpDownBubble ( pos = ( 1000 , 1000 ) ) #NEWLINE# self . add_widget ( self . shadow_bubble ) #NEWLINE# self . remove_widget ( self . shadow_bubble ) #NEWLINE# self . hex_tiles = None #NEWLINE# for enemy in self . enemy_list : #NEWLINE# #INDENT# self . add_widget ( enemy )