public boolean killenemy(int y, int x, boolean ran) {
		for (int index = 0; index < enemy.size(); index++) {
			int x1 = enemy.get(index).getXPosition();
			int y1 = enemy.get(index).getYPosition();
			if (!ran) {
				if (x1 == x && y1 == y) {
					enemy.remove(enemy.get(index));
					gog[y][x] = new GameObject();
					System.out.println("You hear a thud in the distance.");
					ran = true;
					enemyDead = true;
				} else
					enemyDead = false;
			}
		}
		return ran;
	}