I have a game I am developing and currently I have one surfaceview class that handles one round which ends after you shoot the correct image from the screen. I want to know if i need to have another class to handle getting new images for the next round, or could i just call this class again after the round ends and get the new data pushed to this same class. Currently I finish the activity then call itself again which results in crashing.
Share
One
SurfaceViewought to be enough for everybody.Please, make sure you separate your game logic from UI, so when your user changes from one level to another, your application just reloads the necessary resources and keeps going on instead of destroying and recreating all activities.