Merge pull request #3447 from aastrand/master

Ban ignored users from watching
This commit is contained in:
LevelX2 2017-06-03 10:31:24 +02:00 committed by GitHub
commit 13ea2c33c6
8 changed files with 58 additions and 20 deletions

View file

@ -1,8 +1,11 @@
package mage.game;
import java.io.Serializable;
import mage.constants.PhaseStep;
import java.io.Serializable;
import java.util.Collections;
import java.util.Set;
/**
* Game options for Mage game. Mainly used in tests to configure
* {@link GameImpl} with specific params.
@ -42,4 +45,10 @@ public class GameOptions implements Serializable {
* If true, players can rollback turn if all players agree
*/
public boolean rollbackTurnsAllowed = true;
/**
* Names of users banned from participating in the game
*/
public Set<String> bannedUsers = Collections.emptySet();
}