So i'm trying to restart the level every time my character dies . The problem is that i have a Levels class in which i made all the levels as subclasses so i need a way of getting my current level so i can set the world to a new version of my current level . Or a way of storing the current level at the start and setting the world to the stored version when i die.
