title: Call GameScene method from AppDelegate (Swift 3, SpriteKit, Xcode 8)
body: <p>I am using Spritekit and swift 3 for create a game, my problem is when I try to call my <code>pauseGame()</code> method, present in my GameScene class (subclass of SKScene), from AppDelegate file within <code>applicationWillResignActive(_ application: UIApplication)</code> method.</p>
  
  <p>I already try to instantiate GameScene class and then call the method in my AppDelegate file in this way, although there is no compiler error it doesn't work:</p>
  
  <pre><code>func applicationWillResignActive(_ application: UIApplication) {
  
      if let gameScene = GameScene(fileNamed: "GameScene") {
  
          gameScene.pauseGame()
      }
  }
  </code></pre>
  
  <p>How can I resolve this? Thanks in advance.</p>