     if let nodeB = nodeB {
       hub.nodeContact.publishNotificationName("didEndContactWithNode", sender: nodeA, userInfo:(nodeB,contact:contact))
     }
-
+    
     
   }
   

    if let didMoveToView = b.didMoveToView {
      self.observersView.append(hub.view.subscribeNotificationForName("didMoveToView", sender: scene) { [weak self] notification in
        didMoveToView(notification.userInfo!)
      })
    }
    
    if let willMoveFromView = b.willMoveFromView {

    if let nodeA = nodeA {
      hub.nodeContact.publishNotificationName("didBeginContactWithNode", sender: nodeB, userInfo:(nodeA,contact:contact))
    }
    
    if let nodeB = nodeB {
      hub.nodeContact.publishNotificationName("didBeginContactWithNode", sender: nodeA, userInfo:(nodeB,contact:contact))
    }
