forked from External/mage
[OTJ] add test for saddled this turn
This commit is contained in:
parent
f3887a54f3
commit
20865c4c3e
3 changed files with 69 additions and 0 deletions
|
|
@ -7,6 +7,8 @@ import mage.game.permanent.Permanent;
|
|||
import mage.watchers.common.SaddledMountWatcher;
|
||||
|
||||
/**
|
||||
* requires SaddledMountWatcher
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public enum SaddledSourceThisTurnPredicate implements ObjectSourcePlayerPredicate<Permanent> {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ import java.util.*;
|
|||
*/
|
||||
public class SaddledMountWatcher extends Watcher {
|
||||
|
||||
// key: the mount, value: set of creatures which saddled
|
||||
private final Map<MageObjectReference, Set<MageObjectReference>> saddleMap = new HashMap<>();
|
||||
|
||||
public SaddledMountWatcher() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue