Updated Game interface to skip drawing. Added parsing test scenarios and updating players' zones.

This commit is contained in:
magenoxx 2011-02-14 20:49:16 +03:00
parent f8a26d4e7e
commit 366401b0b2
9 changed files with 895 additions and 18 deletions

View file

@ -152,9 +152,16 @@ public abstract class PlayerImpl<T extends PlayerImpl<T>> implements Player, Ser
@Override
public void init(Game game) {
init(game, false);
}
@Override
public void init(Game game, boolean testMode) {
this.abort = false;
this.hand.clear();
this.graveyard.clear();
if (!testMode) {
this.hand.clear();
this.graveyard.clear();
}
this.abilities.clear();
this.wins = false;
this.loses = false;