public void checkForPlayer(int yPos, int xPos, Player ply) {
		playerKilled = false;

		if (ply.isHasShield()) {

		} else {
			if (yPos == ply.get_yPosition() && xPos == ply.get_xPosition()) { // up
				playerKilled = true;
				gog[ply.get_yPosition()][ply.get_xPosition()] = new GameObject();
				ply.playerDies();
			}
			if (yPos == ply.get_yPosition() && xPos == ply.get_xPosition()) { // down
				playerKilled = true;
				gog[ply.get_yPosition()][ply.get_xPosition()] = new GameObject();
				ply.playerDies();
			}
			if (yPos == ply.get_yPosition() && xPos == ply.get_xPosition()) { // left
				playerKilled = true;
				gog[ply.get_yPosition()][ply.get_xPosition()] = new GameObject();
				ply.playerDies();
			}
			if (yPos == ply.get_yPosition() && xPos == ply.get_xPosition()) { // right
				playerKilled = true;
				gog[ply.get_yPosition()][ply.get_xPosition()] = new GameObject();
				ply.playerDies();
			}
			if (checkForEnemy(8, 0)) {
				shield.activateShield(ply, 1);
			}
		}
	}