Package flyingdiamond.model.chainreaction

Examples of flyingdiamond.model.chainreaction.ActivationChainReaction


   * @param row the specified article's row.
   * @param col the specified article's column.
   */
  public void activateArticle(int row, int col){
    if (articles[row][col]!=null) {
      ActivationChainReaction reaction = articles[row][col].getActivationChainReaction();
      if(reaction.canActivate(row, col, this)){
        activatedCount=reaction.react(row, col, this);
        activated = true;
        activatedRow = row;
        activatedCol = col;
      }
    }
View Full Code Here

TOP

Related Classes of flyingdiamond.model.chainreaction.ActivationChainReaction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.