public boolean applyOnCell(Cell cell) { if (condition.evaluate(cell)) { cell.nextType = type; return true; } return false; }
public void solveReferences(Automaton a) { type = (Type) a.getType(type.name); condition.solveReferences(a); }