I am doing some tests and modifications based off the "simple sample" project.
But I'm a problem with how the whole display system works.
At startup, there is a class inherited from "Game" that is only used to instanciate the different samples like :
Demo1Screen demo = new Demo1Screen();
These classes themselves are inherited from a "GameScreen" which is in charge of the display yet isn't properly a "Game" object.
So my questions:
- is it normal/good that there are several objects in charge of drawing ? (the main game calls gamescreen)
- how am I supposed to draw sprites and other objects on the screen, should I draw them using the main original "game" class or should I do this inside the "Demo1Screen" class? If the second one, how?
Thanks for replying