forked from External/mage
Updated Game interface to skip drawing. Added parsing test scenarios and updating players' zones.
This commit is contained in:
parent
f8a26d4e7e
commit
366401b0b2
9 changed files with 895 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue