I'm currently in the throws of writing a mobile phone game for series 40 phones. I've developed the game which essentially sits in a class of its own called mainGame.
Now I want to add a front end, initially a splash screen then a menu to select the game options, save, load etc, but I am wondering what is the best way to do this. I need the menu to be available from within the game, not just at the start.
My problem is this... deep breath!
Is it good practice to create 2 new threaded classes for the Splash and Menu, and instantiate them in the midlet class together with the mainGame class. Then set displayable to the Splash class?
Then when the splash has timed out, set displayable to the Menu class and kill the Splash (as it's not needed again). From the Menu class activate the mainGame, but should I then kill the Menu class, and recreate one when needed? Or should I leave the Menu class in memory, and some how pause it (not sure how to do this), then call it when needed.
Hope this makes sense, I'm still fuzzy on the whole Threaded Class thing.
Any guidance is appreciated.
(Please forgive my ignorance, but I had to start somewhere)