private Exit getPairedExit(int row, int col, Direction dir) { GameObject obj = this.getObjectFromCoords(row, col); Point startCoords = this.getStartCoords(row, col); return obj.getExitAt(row - startCoords.x, col - startCoords.y, dir.opposite()); }