title: Does DidContactBegin Fire Multiple Times at the One Time
body: <p>I have a node which makes contact with two other nodes at the same time. What I'm wondering is, when my node make contact with the other two nodes (at the same time), does both the didContactBegin code fire at the same time, or is one didContactBegin processed and then the next.</p>
  
  <p>I would have figured that one fires and then the next, so to make the second or third didContactBegin not fire, I setup a boolean and a timer. But after doing this, I'm starting to think the didContactBegin fires both at the same time, as my code below seems to get double println messages ever so often, but not all the time. </p>
  
  <pre><code>func didBeginContact(contact: SKPhysicsContact) {
  
      if contact.bodyA.node?.name == "segment" || contact.bodyB.node?.name == "segment" {
  
          if boolean == true {
              boolean = false
              timerResetBoolNextAction.invalidate()
              timerResetBoolNextAction = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: Selector("ResetBoolean"), userInfo: nil, repeats: false)
  
              println("boolean is true")
          }
  
     }  
  
  }
  
  
  func ResetBoolean() {
  
      boolNextAction = true
  
  }
  </code></pre>
  
  <p>Anyway, the main thing I want to know is does the didContactBegin fire all at once or does it queue. Because if it does queue, I believe there must be something else wrong with my code.</p>