forked from External/mage
ActionWithResult interface, ActionWithBooleanResult.
This commit is contained in:
parent
b0a1c07067
commit
039d9663f0
2 changed files with 38 additions and 0 deletions
13
Mage.Common/src/mage/utils/ActionWithBooleanResult.java
Normal file
13
Mage.Common/src/mage/utils/ActionWithBooleanResult.java
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package mage.utils;
|
||||
|
||||
import mage.interfaces.ActionWithResult;
|
||||
|
||||
/**
|
||||
* @author noxx
|
||||
*/
|
||||
public abstract class ActionWithBooleanResult implements ActionWithResult<Boolean> {
|
||||
@Override
|
||||
public Boolean negativeResult() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue