mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
parent
75934f5513
commit
f1cfc8ca5c
3 changed files with 2 additions and 177 deletions
|
|
@ -42,8 +42,8 @@ import mage.players.Player;
|
|||
*/
|
||||
public class FilterPermanentOrPlayer extends FilterImpl<MageItem> implements FilterInPlay<MageItem> {
|
||||
|
||||
protected FilterPermanent permanentFilter;
|
||||
protected FilterPlayer playerFilter;
|
||||
protected final FilterPermanent permanentFilter;
|
||||
protected final FilterPlayer playerFilter;
|
||||
|
||||
public FilterPermanentOrPlayer() {
|
||||
this("player or permanent");
|
||||
|
|
@ -90,18 +90,10 @@ public class FilterPermanentOrPlayer extends FilterImpl<MageItem> implements Fil
|
|||
return this.permanentFilter;
|
||||
}
|
||||
|
||||
public void setPermanentFilter(FilterPermanent permanentFilter) {
|
||||
this.permanentFilter = permanentFilter;
|
||||
}
|
||||
|
||||
public FilterPlayer getPlayerFilter() {
|
||||
return this.playerFilter;
|
||||
}
|
||||
|
||||
public void setPlayerFilter(FilterPlayer playerFilter) {
|
||||
this.playerFilter = playerFilter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilterPermanentOrPlayer copy() {
|
||||
return new FilterPermanentOrPlayer(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue