forked from External/mage
Fixed that to allow watchers of a game to see the hand cards of players did not work correctly.
This commit is contained in:
parent
c0db6dfdc8
commit
c65adebc57
14 changed files with 129 additions and 68 deletions
|
|
@ -48,9 +48,9 @@ public class GameFactory {
|
|||
private static final GameFactory INSTANCE = new GameFactory();
|
||||
private static final Logger logger = Logger.getLogger(GameFactory.class);
|
||||
|
||||
private Map<String, Class<Match>> games = new HashMap<String, Class<Match>>();
|
||||
private Map<String, MatchType> gameTypes = new HashMap<String, MatchType>();
|
||||
private List<GameTypeView> gameTypeViews = new ArrayList<GameTypeView>();
|
||||
private final Map<String, Class<Match>> games = new HashMap<>();
|
||||
private final Map<String, MatchType> gameTypes = new HashMap<>();
|
||||
private final List<GameTypeView> gameTypeViews = new ArrayList<>();
|
||||
|
||||
|
||||
public static GameFactory getInstance() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue