What's the deal with types after issuing a clearworld?
To load a new level I issue a clearworld then call a function from an include file to load the new level then use a goto to take the program back in front of the main loop to reload the player, the enemies and bullets which are all types but I keep getting an entity doesn't exist error for either the enemies or their bullets. I know the goto works cuz my player is reloaded. What do I need to do to types to get them to reload after the new level is loaded?
To load a new level I issue a clearworld then call a function from an include file to load the new level then use a goto to take the program back in front of the main loop to reload the player, the enemies and bullets which are all types but I keep getting an entity doesn't exist error for either the enemies or their bullets. I know the goto works cuz my player is reloaded. What do I need to do to types to get them to reload after the new level is loaded?