#NEWLINE# def check_pillar( self , level , location ) : #NEWLINE# #INDENT# 'check for possible pillar' #NEWLINE# tiles = self . configuration . tiles #NEWLINE# ( x_loc , y_loc ) = location #NEWLINE# if ( ( wall_tile ( level , ( ( x_loc - 1 ) , y_loc ) ) not in tiles ) and ( wall_tile ( level , ( ( x_loc + 1 ) , y_loc ) ) not in tiles ) and ( wall_tile ( level , ( x_loc , ( y_loc - 1 ) ) ) not in tiles ) and ( wall_tile ( level , ( x_loc , ( y_loc + 1 ) ) ) not in tiles ) ) : #NEWLINE# #INDENT# return self . configuration . wall #NEWLINE# #UNINDENT# return None