Re: What card was discarded?
I was thinking last night, it seems to me the best thing to do would be to add a method to GameAction like discard(String player, String parseme). That way CardFactory can just use that method instead of jumping through loops.
- Code: Select all
GameAction.discard(String player, String parseme)
{
if(player is Computer)
make the computer discard something
else //human
input = get appropriate input for human player
AllZone.InputControl.setInput(input)
}