public override Node CreateNode(string label) { if (Pos.IsPos(label)) { var cell = new TunnelCell(label); TunnelCells.Add(cell); return cell; } else if ("Diggers".Equals(label)) { return Diggers; } else { return base.CreateNode(label); } // TODO Diggers }
public override Node CreateNode(string label) { if (Pos.IsPos(label)) { var cell = new TunnelCell(label); TunnelCells.Add(cell); return(cell); } else if ("Diggers".Equals(label)) { return(Diggers); } else { return(base.CreateNode(label)); } // TODO Diggers }