public void DeleteConnection(DigitMark connectionToDelete) { if (connections.Contains(connectionToDelete)) { connections.Remove(connectionToDelete); } }
public bool ConnectedTo(DigitMark connectedNode) { return connections.Contains(connectedNode); }
public void AddConnection(DigitMark newConnection) { connections.Add(newConnection); }