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

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