(self, pos)
return pos[0] * 12 + pos[1]
Maps a position in x,y coordinates to a unique ID
Maps a position in x,y coordinates to a unique ID
Maps a position in x y coordinates to a unique ID
def _position_to_id(self, pos):
        ''' Maps a position in x,y coordinates to a unique ID '''
        return pos[0] * 12 + pos[1]
def _position_to_id ( self , pos ) : return pos [ 0 ] * 12 + pos [ 1 ]