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

  
  private var behaviour:ComponentBehaviour { return self as ComponentBehaviour }
  
  var isEnabled:Bool = true
  private(set) weak var node:SKNode? {
    didSet {
      if(self.node != nil) {
        self.isEnabled = true
        self._didAddToNode()
      }
      else {
        self.isEnabled = false
        self._didRemoveFromNode()
      }
    }
  }
  
  init(){}
 
  final func removeFromNode() -> Bool {
    if let node = self.node { return node.removeComponent(self) }
    else { return false }

    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))
    }
