So I have my BufferedImages:
private BufferedImage sdk1, sdk2, sdk3, sdk4, sdk5, sdk6, sdk7, sdk8, sdk9, sdk10, bc;
And my Array values set:
ArrayList<Card> deck1 = new ArrayList(50);
deck1.add(CardList.Spade);
I was wondering, can I assign an image to "Spade" in my Array list? So when it's used on input of the Scanner, it will display an image in a JFrame.
Scanner monSummon = new Scanner(System.in);
int whichMonsterPOS1 = monSummon.nextInt();
Sorry if I can't explain it anymore, and thanks in advance.
Imageproperty to yourCard?Cardclass directly