Well, nope!
To be honest, it’s probably this evil morning and the lack of proper amount of coffee.
Anyway, just a thought. in the name of good “OOP” I was creating 3 classes, my GameUI, my GamePiece and my GameBoard. The thought was that the GameUI should implement the GameBoard, which extends a simple Jpanel.
That get’s me into trouble since the mouseListener then should be implemeneted at the gameBoard(correct?). And then I really need to move everything called “Logic” to the GameBoard since this one must know about the different pieces and what to do with them.
In the other hand… isn’t that kind of right? To let the GameUI be a simple conatiner with menus and the GameBoard the logic part wich implements GamePieces…
Am I out on a holiday here or what do you think…?
(yep, i really feel like a Clubie)
