code: public boolean isVisible(Tiled tiled)
      {
          final int tx = tiled.getInTileX();
          final int ty = tiled.getInTileY();
          final int tw = tiled.getInTileWidth() - 1;
          final int th = tiled.getInTileHeight() - 1;
  
          for (int ctx = tx; ctx <= tx + tw; ctx++)
          {
              for (int cty = ty; cty <= ty + th; cty++)
              {
                  if (isFogged(ctx, cty) || !isVisited(ctx, cty))
                  {
                      return false;
                  }
              }
          }
          return true;
      }
docs: Check if the tile is currently visible.
  
  @param tiled The tiled to check.
  @return <code>true</code> if hidden, <code>false</code> else.