public boolean checkForEnemy(int yPos, int xPos) {
		boolean check = false;
		try {
			for (int i = 0; i < enemy.size(); i++) {
				if (gog[yPos][xPos].compareTo(enemy.get(i)) == 0) {
					check = true;
				} else {
					check = false;
				}
			}
		} catch (ArrayIndexOutOfBoundsException e) {
			// System.out.println("Out of the grid");
		}
		return check;
	}