public void selectArea(int x, int y, int w, int h)
	{
		selectedArea = new int[Math.abs(w-x) + (x >= w ? 1 : 0)][Math.abs(h-y) + (y >= h ? 1 : 0)];

		for (int j = 0; j < selectedArea[0].length; j++)
		{
			for (int i = 0; i < selectedArea.length; i++)
			{
				selectedArea[i][j] = this.level.getLayer(super.paintOnLayer).getTile((x >= w ? w+i : x+i), (y >= h ? h+j : y+j));
			}
		}
	}