Currently the image files get locked by the program.
When GarbageCollector has run these files are freed again.
Find a way to free the resources manually before resetting them.
Idea: Save the reset gameSprites as a .tmp file and rename them after closing the gameMenu
Actual implementation:
Game will prompt the user if he wants to continue resetting.
If the user presses yes the application will restart and rename the .tmp files to the actual used files.
Currently the image files get locked by the program. When GarbageCollector has run these files are freed again. Find a way to free the resources manually before resetting them.
Idea: Save the reset gameSprites as a .tmp file and rename them after closing the gameMenu