added a notifyDeath to tell contorller that player is dead