Changing how the cards are sent to client.

This commit is contained in:
marcins78@gmail.com
2012-08-09 10:14:03 +00:00
parent e3687a1c5c
commit cd693065de

View File

@@ -175,7 +175,7 @@ public class GameState {
for (Map.Entry<String, Integer> stringIntegerEntry : _playerPosition.entrySet())
listener.setPlayerPosition(stringIntegerEntry.getKey(), stringIntegerEntry.getValue());
Set<PhysicalCard> cardsLeftToSent = new HashSet<PhysicalCard>(_inPlay);
Set<PhysicalCard> cardsLeftToSent = new LinkedHashSet<PhysicalCard>(_inPlay);
Set<PhysicalCard> sentCardsFromPlay = new HashSet<PhysicalCard>();
int cardsToSendAtLoopStart;