DropRule.java :  » Game » sysboard » condition » Java Open Source

Java Open Source » Game » sysboard 
sysboard » condition » DropRule.java
package condition;

import base.Engine;
import base.Piece;
import java.awt.Point;

public abstract class DropRule {
  private Engine engine;
  
  public DropRule(Engine engine) {
    this.engine = engine;
  }
  
  public Engine getEngine() {
    return this.engine;
  }
  
  public abstract boolean isValidDrop(Piece piece, Point destination);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.