Hi I am still having lack of fundamental knowladge about java (general), classes and swing. So prepare yourself for stupid questions. Firstly i just say what i want to do. I want to make a graphical 2D game where are a main character (player), opponent characters (AI) and a map. I am planning to design this so:
don't really know should i use extends gamepanel or implements gamePanel --what is the difference? Does only the parent class (gamePanel) have a paintComponent() method? For example with what method in map class can i draw something (e.g. bacground color) to the gamePanel? OK .. don't know what more to ask now. I have so much things that i want asers to. So pleas give me some advice to my problems ... don't know where to start.