public void paintComponent(Graphics g) {
		if (groundMap != null && terrainMap != null) {
			for(int i = 0; i < row; i++) {
				for (int j = 0; j < col; j++) {
					if(groundMap[i][j] == 'P')
						g.drawImage(imgPlain, j*BLOCK-xMap, i*BLOCK-yMap, null);
					else if(groundMap[i][j] == 'W')
						g.drawImage(imgWater, j*BLOCK-xMap, i*BLOCK-yMap, null);

					if (terrainMap[i][j] == 'M')
						g.drawImage(imgMountain, j*BLOCK-xMap, i*BLOCK-yMap, null);
					else if(terrainMap[i][j] == 'T')
						g.drawImage(imgTree, j*BLOCK-xMap, i*BLOCK-yMap, null);
				}
			}
			System.out.println(xHero/2 + " " + yHero/2);
			g.drawImage(spriteHero[stance+(sCount*8)], 192+xShift, 184+yShift, null);
		}
	}