refactored OwnerPredicate

This commit is contained in:
Evan Kranzler 2020-01-06 19:59:56 -05:00
parent 3f0547a7fa
commit c14a079cc5
59 changed files with 66 additions and 183 deletions

View file

@ -34,7 +34,7 @@ public enum TargetController {
private final DamagedPlayerThisTurnPredicate damagedPlayerThisTurnPredicate;
TargetController() {
this.ownerPredicate = new OwnerPredicate(this);
this.ownerPredicate = this.getOwnerPredicate();
this.playerPredicate = new PlayerPredicate(this);
this.controllerPredicate = new ControllerPredicate(this);
this.damagedPlayerThisTurnPredicate = new DamagedPlayerThisTurnPredicate(this);