This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
So, Im trying to create my "skeleton" code for a gaming application.
I have understood the meaning of a thread leading the process through the game. However, I have no idea how to combine all classes and activity's into a single package.
What i would like is a guide in the following:
- I would like to have a class that will extend the View class in which the drawing will be taking place
- I would like to use the class above as display class (setContentView())
- Where do i create a class that implements the runnable class, where do I start the threads, how do I connect all these.