That's what setter methods are for. Your Card class would have an instance variable like isUp or whatever, and a setter method:
public class Card {
private boolean isUp = false;
...
Type: Posts; User: pbrockway2
That's what setter methods are for. Your Card class would have an instance variable like isUp or whatever, and a setter method:
public class Card {
private boolean isUp = false;
...
It sounds like the upness is a property of a card. Consider modelling this by writing a Card class whose toString() or some other method produces the desired string.
One consequence of this...