(Map<Optional<Player>, Map<CounterType, Integer>> etbCounters)
| 1962 | } |
| 1963 | |
| 1964 | public final void putEtbCounters(Map<Optional<Player>, Map<CounterType, Integer>> etbCounters) { |
| 1965 | if (etbCounters == null) { |
| 1966 | return; |
| 1967 | } |
| 1968 | // used for LKI |
| 1969 | for (Map<CounterType, Integer> m : etbCounters.values()) { |
| 1970 | for (Map.Entry<CounterType, Integer> e : m.entrySet()) { |
| 1971 | CounterType ct = e.getKey(); |
| 1972 | if (canReceiveCounters(ct)) { |
| 1973 | setCounters(ct, getCounters(ct) + e.getValue()); |
| 1974 | } |
| 1975 | } |
| 1976 | } |
| 1977 | } |
| 1978 | |
| 1979 | public final String getSVar(final String var) { |
| 1980 | for (Map<String, String> map : changedSVars.values()) { |
no test coverage detected