forked from External/mage
Moved Mage.Common classes from src to src/main/java
This commit is contained in:
parent
e9d31aa93c
commit
21eb420c16
102 changed files with 0 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
package mage.utils;
|
||||
|
||||
import mage.interfaces.ActionWithResult;
|
||||
|
||||
/**
|
||||
* Used to write less code for ActionWithResult anonymous classes with Boolean return type.
|
||||
*
|
||||
* @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