(String name, Player p, ZoneType zone)
| 142 | } |
| 143 | |
| 144 | protected Card addCardToZone(String name, Player p, ZoneType zone) { |
| 145 | Card c = createCard(name, p); |
| 146 | // card need a new Timestamp otherwise Static Abilities might collide |
| 147 | c.setGameTimestamp(p.getGame().getNextTimestamp()); |
| 148 | p.getZone(zone).add(c); |
| 149 | return c; |
| 150 | } |
| 151 | |
| 152 | protected Card addCard(String name, Player p) { |
| 153 | return addCardToZone(name, p, ZoneType.Battlefield); |
no test coverage detected