making code wait on Input
 Posted: 04 Jul 2011, 14:25
Posted: 04 Jul 2011, 14:25Hi 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


