   
   
   
-   func _addChild(node:SKNode!) {
+  func _addChild(node:SKNode!) {
     if node.parent != self {
       node.removeFromParent()
       self._addChild(node)
       self._addedChild(node);
-
-    }
-    
-  }
-  
-   func _insertChild(node: SKNode!, atIndex index: Int) {
+      
+    }
+    
+  }
+  
+  func _insertChild(node: SKNode!, atIndex index: Int) {
     if node.parent != self {
       node.removeFromParent()
       self._insertChild(node, atIndex: index)


extension SKNode {
  
//  
//  
//  final private func internalTouchesBegan(touches: [UITouch], withEvent event: UIEvent) {
//    for component in self.components { if component.isEnabled { component.touchesBegan?(touches, withEvent: event) } }
//    //    for child in self.childNodes     { child.internalTouchesBegan(touches, withEvent: event) }
//    
//  }
//  
//  override public func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
//    let touchesList:[UITouch] = touches.allObjects as [UITouch]
//    self.internalTouchesBegan(touchesList, withEvent: event)
//  }
  
}


    hubEmpty.publishNotificationName("SKC_didSimulatePhysics", sender: self)
  }
  
  
  
  public func didFinishUpdate() {
    hubEmpty.publishNotificationName("SKC_didFinishUpdate", sender: self)
  }
  
  
  public func didBeginContact(contact: SKPhysicsContact) {
    hubContact.publishNotificationName("SKC_didBeginContact", sender: self, userInfo:contact)
