Hand/deck and so on is

This commit is contained in:
marcins78@gmail.com
2011-09-19 12:11:00 +00:00
parent fbdcc4708c
commit b400deb59e
2 changed files with 8 additions and 1 deletions

View File

@@ -159,6 +159,13 @@ public class GameState {
for (Map.Entry<Token, Integer> tokenIntegerEntry : physicalCardMapEntry.getValue().entrySet())
listener.addTokens(card, tokenIntegerEntry.getKey(), tokenIntegerEntry.getValue());
}
for (String participantId : _playerOrder.getAllPlayers()) {
listener.setZoneSize(participantId, Zone.DECK, _decks.get(participantId).size());
listener.setZoneSize(participantId, Zone.HAND, _hands.get(participantId).size());
listener.setZoneSize(participantId, Zone.DISCARD, _discards.get(participantId).size());
listener.setZoneSize(participantId, Zone.DEAD, _deadPiles.get(participantId).size());
}
}
}

View File

@@ -7,7 +7,6 @@ Next priority:
26. The game area should display chat from the start.
25. Remove all non-essencial alerts, instead add warnings to chat panel.
13. Add dead/discard pile displays.
14. Add hand/deck card count displays.
16. Add an option to watch an ongoing game (spectator).
24. The events that are played and cards affected should be shown to the players briefly using animations to make it
aestheticly pleasing.
@@ -48,4 +47,5 @@ with Filters.sameCard(...) filter.
32. Created tables do not disappear when the player closes the browser.
33. When a player stops responding during preparation time of the game, the game is not properly finished.
19. Add filtering cards to deck-builder.
14. Add hand/deck card count displays.