I tried to make a game where the world (Level) changes depending on the amount of items collected. But every time a new world is generated, the amount of items gets set to 0. To fix this I tried to call the class with the amount of items (public Player(int items){}) but this completly removes the act funktion even though you use the run option. how can I fix it?