mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
Turn under control reworked:
- game: added support when a human is take control over a computer player (related to #12878); - game: fixed game freezes while controlling player leaves/disconnect on active priority/choose of another player;
This commit is contained in:
parent
49b90820e0
commit
0505f5159e
12 changed files with 534 additions and 32 deletions
|
|
@ -4544,10 +4544,6 @@ public class TestPlayer implements Player {
|
|||
return AIPlayer;
|
||||
}
|
||||
|
||||
public String getHistory() {
|
||||
return computerPlayer.getHistory();
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlanarDieRollResult rollPlanarDie(Outcome outcome, Ability source, Game game, int numberChaosSides, int numberPlanarSides) {
|
||||
return computerPlayer.rollPlanarDie(outcome, source, game, numberChaosSides, numberPlanarSides);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue