I am creating objects on the screen using a factory, saving the id of the object to a table in a different file. I load a different screen, but When I reenter the previous screen I want to use the same ids (with its location) to replace the object in the game
How can I use those factory ids saved to the table to recreate the object in the same place?