forked from External/mage
28 lines
669 B
Java
28 lines
669 B
Java
package mage;
|
|
|
|
import mage.abilities.Ability;
|
|
import mage.game.Game;
|
|
|
|
/**
|
|
*
|
|
* @author LevelX2
|
|
*/
|
|
public class ApprovingObject {
|
|
|
|
private final Ability approvingAbility;
|
|
private final MageObjectReference approvingMageObjectReference;
|
|
|
|
public ApprovingObject(Ability source, Game game) {
|
|
this.approvingAbility = source;
|
|
this.approvingMageObjectReference = new MageObjectReference(source.getSourceId(), game);
|
|
}
|
|
|
|
public Ability getApprovingAbility() {
|
|
return approvingAbility;
|
|
}
|
|
|
|
public MageObjectReference getApprovingMageObjectReference() {
|
|
return approvingMageObjectReference;
|
|
}
|
|
|
|
}
|