Example #1
0
  public boolean applyOnCell(Cell cell) {
    if (condition.evaluate(cell)) {
      cell.nextType = type;
      return true;
    }

    return false;
  }
Example #2
0
 public void solveReferences(Automaton a) {
   type = (Type) a.getType(type.name);
   condition.solveReferences(a);
 }