I have a class which calls another class in which a timer runs and there are some actions to be performed based on the current count.
Now, my problem is, the player must have the option to start the level all over again, and hence I have removed the class that called the class with the timer in the first place…unfortunately i realized that the subclasses don’t really get removed if the parent is.
Any suggestions on what method i should use? i am not totally clear with the concept of classes so any info related to this will help.