I am developing a platformer for a college course and I am trying to figure out how I would stop the game if the player was to fall into a pit. If anyone has any tips, I'd very much appreciate it! (I will post code if I get a reply, my player class is simply called Player and the pit class is under Actor and is called Death)

