Hi, I am writing a java applet to simply, display an image on my web browser. I can do it when I am only using one class, but now I wanted to write the program using two classes.
======CLASS: GAME======
======CLASS: MAINMENU======
======HTML======
<applet code="Game" width=1000 height=550>
<param name="file" value="Menu.png">
</applet>
If anyone has any advice for me I would really appreciate it. For this simple game, I was thinking each class would be responsible for drawing it's own images, that is why I do not want to draw this in the Game class.
I tried looking in my Java text book, but they do not go far into this topic, and the online resources I have looked up have been hard to understand.
Post if more details are needed!