def add_neighbor(self, direction, neighbor, set_neighbor=True): Location.add_neighbor(self, direction, neighbor, set_neighbor)