I have edited Player to accomodate for invulnerablility (added invulnerabile boolean, and two functions to change it, making the player killerable or not). I have also edited main.cpp to account for collisions between the hearts & player, as well as making collisions between an invulnerable player kill enemies instead of killing the player. I have also added the tmpHearts to help clear them when they're collected or go off of screen