/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.fourisland.fourpuzzle.gamestate.mapview.event.precondition;
/**
* A Precondition is an object that helps LayerEvent to determine which
* of its (possibly many) PossibleEvents is active. PossibleEvents can
* have Preconditions attached to them and when all Preconditions are fulfilled
* (determined by the true
return value from match()) and
* there aren't any fulfilled PossibleEvents later in the queue, said
* PossibleEvent will be active.
*
* @author hatkirby
*/
public interface Precondition {
public boolean match();
}