public void retrieveTilesetNameFromLayer()
	{
		if (getNumOfLayers() < 1)
			return;

		// This assumes all layers use the same tileset naming.
		File path = new File(getLayer(0).getImgPath());

		if (path.getName().toLowerCase().contains("0.bmp"))
		{
			this.tilesetName = path.getName().substring(0, path.getName().length() - 5);
		}
	}