public void shootGunCheck(int yplr, int xplr, String dir) {
		boolean ran = false;
		switch (dir) {
		case "up":
		case "u":
		case "1":
			for (int i = +yplr; i >= 0; i--) {
				ran = killenemy(i, xplr, ran);
			}
			break;
		case "down":
		case "d":
		case "2":
			for (int i = +yplr; i < gog.length; i++) {
				ran = killenemy(i, xplr, ran);
			}
			break;
		case "left":
		case "l":
		case "4":
			for (int i = +xplr; i >= 0; i--) {
				ran = killenemy(yplr, i, ran);
			}
			break;
		case "right":
		case "r":
		case "3":
			for (int i = +xplr; i < gog.length; i++) {
				ran = killenemy(yplr, i, ran);
			}
			break;
		}
	}