I’m having a very strange behavior in my game application. There are two classes – GameActivity and GameManager. GameManager runs all the logic, and GameActivity just hosts a GameManager instance. Now there’s a pause menu and an Exit button inside. Clicking it calls finish() on GameManager, which in turn calls the actual finish() method on GameActivity. And the problem is that the call just does nothing. I’ve put a bunch of log calls in places like onPause(), but neither is getting called. That just seems absolutely weird to me. Will appreciate any kind of help!
I’m having a very strange behavior in my game application. There are two classes
Share
From your comment: Activity.finish() probably does nothing, try passing the actual context of the GameActivity to the game manager.