Yea, I figured out that when I add the Card to the ArrayList, when I update the properties, all the properties are updated. How do I make it so that it will add a new Card every time the loop goes...
Type: Posts; User: CountryGamer
Yea, I figured out that when I add the Card to the ArrayList, when I update the properties, all the properties are updated. How do I make it so that it will add a new Card every time the loop goes...
only for those yellow warning lines that dont affect the code. I can take that out and see what happens. Ill post the results.
I am also going to try to do this at the loop:
Card a = new Card(...
Ok, so I have tried to create a deck of cards using 2 classes, Deck.java and Card.java
But every time I try to add a card to the deck ArrayList, using a for statement, the deck ends up containing...