Hi! Again, thanks very much! Sorry to bother you once more!
I've decided to include piece movement rules in every piece-subclass class. Should I use an abstract method for that, like:
protected...
Type: Posts; User: MineeMo
Hi! Again, thanks very much! Sorry to bother you once more!
I've decided to include piece movement rules in every piece-subclass class. Should I use an abstract method for that, like:
protected...
Hi. Thank you very much for your reply!
I think I got i now :D
This is the changes I made:
Piece-class:
import javax.swing.ImageIcon;
import javax.swing.JLabel;
Hi, thanks for your reply.
Does that mean that I should make a constructor in the abstract piece class with x, y, icon and pieceholder parameters? If I do that eclipse tells me the Pawn class...
Hi everyone. I hope this is the right forum to post this.
I'm not really good at java and this is my first project.
I'm trying to make a simple chess program. It's not finished yet. What you...