foul-magics/Mage/src/mage/abilities/condition/Condition.java
maurer.it efe55aff76 Modifications to LandfallAbility:
Bloodghast's landfall comes only when he's in the yard, added constructor for such a case where the zone may not be battlefield.
Modifications to Condition:
     Javadoc'ed the apply method.
Renamed ConditionalEffect to be ConditionalContinousEffect
2010-12-26 14:00:27 -05:00

22 lines
453 B
Java

package mage.abilities.condition;
import mage.abilities.Ability;
import mage.game.Game;
import java.io.Serializable;
/**
* Interface describing condition occurrence.
*
* @author nantuko
*/
public interface Condition extends Serializable {
/**
* Checks the game to see if this condition applies for the given ability.
*
* @param game
* @param source
* @return
*/
boolean apply(Game game, Ability source);
}