public void draw(Graphics g) {

		switch (dir) {
		case L:
			g.drawImage(hashImgs.get("L"), x, y, null);
			break;
		case LU:
			g.drawImage(hashImgs.get("LU"), x, y, null);
			break;
		case U: 
			g.drawImage(hashImgs.get("U"), x, y, null);
			break;
		case RU:
			g.drawImage(hashImgs.get("RU"), x, y, null);
			break;
		case R:
			g.drawImage(hashImgs.get("R"), x, y, null);
			break;
		case RD:
			g.drawImage(hashImgs.get("RD"), x, y, null);
			break;
		case D:
			g.drawImage(hashImgs.get("D"), x, y, null);
			break;
		case LD:
			g.drawImage(hashImgs.get("LD"), x, y, null);
			break;
		default :
			break;
		}

		move();
	}