mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
game, refactor: improved player related code, fixed miss reset fields between games like commanderIds (#11081, #11628)
This commit is contained in:
parent
a090a2a9d0
commit
6ac2f44cc1
7 changed files with 92 additions and 71 deletions
|
|
@ -2962,12 +2962,6 @@ public class TestPlayer implements Player {
|
|||
computerPlayer.init(game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(Game game, boolean testMode) {
|
||||
initialTurns = 0;
|
||||
computerPlayer.init(game, testMode);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
computerPlayer.reset();
|
||||
|
|
|
|||
|
|
@ -525,11 +525,6 @@ public class PlayerStub implements Player {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(Game game, boolean testMode) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void useDeck(Deck deck, Game game) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue