Method
appendCards
(Map<ZoneType, String> cardTexts, String categoryPrefix, StringBuilder sb)
Source from the content-addressed store, hash-verified
| 150 | } |
| 151 | |
| 152 | private void appendCards(Map<ZoneType, String> cardTexts, String categoryPrefix, StringBuilder sb) { |
| 153 | for (Entry<ZoneType, String> kv : cardTexts.entrySet()) { |
| 154 | sb.append(TextUtil.concatNoSpace(categoryPrefix, ZONES.get(kv.getKey()), "=", kv.getValue(), "\n")); |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | public void initFromGame(Game game) { |
| 159 | playerStates.clear(); |
Tested by
no test coverage detected