public void checkCollisionWithPlayer() {
		// check for collisions if player is not invincible
		if (!skillW.isInvincible()) {
			for (int i = 0; i < boardSpawn.getEnemies().size(); i++) {
				if (player.getShape().intersects(boardSpawn.getEnemies().get(i).getShape())) {
					boardSpawn.getEnemies().remove(i);
					health -= 10;
				}
			}

			for (int i = 0; i < birdSpawn.getEnemies().size(); i++) {
				if (player.getShape().intersects(birdSpawn.getEnemies().get(i).getShape())) {
					birdSpawn.getEnemies().remove(i);
					health -= 10;
				}
			}
		}
	}