making code wait on Input

Hi all,
I know I've run across this before, but don't remember if I solved it.
Basically, I have:
What actually happens is showMessage() for discard, card is drawn, now I can Input my discard (and discard the card that was drawn, which is incorrect).
Do we have a way to do this correctly?
Thanks,
slapshot5
I know I've run across this before, but don't remember if I solved it.
Basically, I have:
- Code: Select all
public void resolve() {
player.discard();
player.drawCard();
}
What actually happens is showMessage() for discard, card is drawn, now I can Input my discard (and discard the card that was drawn, which is incorrect).
Do we have a way to do this correctly?
Thanks,
slapshot5