mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
fix latest cards from master
This commit is contained in:
parent
998c3be2a5
commit
ee71495a3f
17 changed files with 0 additions and 169 deletions
|
|
@ -21,11 +21,6 @@ public class CardsDrawnThisTurnWatcher extends Watcher {
|
|||
super(WatcherScope.GAME);
|
||||
}
|
||||
|
||||
private CardsDrawnThisTurnWatcher(final CardsDrawnThisTurnWatcher watcher) {
|
||||
super(watcher);
|
||||
this.cardsDrawnThisTurn.putAll(watcher.cardsDrawnThisTurn);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void watch(GameEvent event, Game game) {
|
||||
if (event.getType() == GameEvent.EventType.DREW_CARD) {
|
||||
|
|
@ -44,9 +39,4 @@ public class CardsDrawnThisTurnWatcher extends Watcher {
|
|||
cardsDrawnThisTurn.clear();
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public CardsDrawnThisTurnWatcher copy() {
|
||||
return new CardsDrawnThisTurnWatcher(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,16 +26,6 @@ public class CommanderPlaysCountWatcher extends Watcher {
|
|||
super(WatcherScope.GAME);
|
||||
}
|
||||
|
||||
public CommanderPlaysCountWatcher(final CommanderPlaysCountWatcher watcher) {
|
||||
super(watcher);
|
||||
this.playsCount.putAll(watcher.playsCount);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CommanderPlaysCountWatcher copy() {
|
||||
return new CommanderPlaysCountWatcher(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void watch(GameEvent event, Game game) {
|
||||
if (event.getType() != EventType.LAND_PLAYED && event.getType() != EventType.SPELL_CAST) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue