     var backgroundMusicPlayer : AVAudioPlayer!
     
     override func didMoveToView(view: SKView) {
-        self.registerAppTransitionObservers() 
+        self.registerAppTransitionObservers()
         self.playBackgroundMusic("bgMusic.mp3")
         
         self.createPlayButton()
-      
+        
         // Texture Variables
-      
-//        let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
-//        let craneHook = SKSpriteNode(imageNamed: "crane.gif")
-//    //brian notes
-//        let block1 = SKSpriteNode(imageNamed: "block1")
-      
-//        var bradJumpTexture = SKTexture(imageNamed: "")
-//        var bradDuckTexture = SKTexture(imageNamed: "")
-
+        
+        //        let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
+        //        let craneHook = SKSpriteNode(imageNamed: "crane.gif")
+        //    //brian notes
+        //        let block1 = SKSpriteNode(imageNamed: "block1")
+        
+        //        var bradJumpTexture = SKTexture(imageNamed: "")
+        //        var bradDuckTexture = SKTexture(imageNamed: "")
+        
         //spawns a obstacles every 2 seconds -kori/brian
-//        let spawnBench  = SKAction.runBlock({() in self.spawnBench()})
-//        let spawnTrashcan = SKAction.runBlock({() in self.spawnTrashcan()})
-//        let craneHook = SKAction.runBlock({() in self.spawnCrane()})
-//        let delay = SKAction.waitForDuration(NSTimeInterval(2.0))
-//        let spawnThenDelay = SKAction.sequence([spawnBench,delay,spawnTrashcan,delay, delay, craneHook])
-//        let spawnThenDelayForever = SKAction.repeatActionForever(spawnThenDelay)
-//        self.runAction(spawnThenDelayForever)
-      
+        //        let spawnBench  = SKAction.runBlock({() in self.spawnBench()})
+        //        let spawnTrashcan = SKAction.runBlock({() in self.spawnTrashcan()})
+        //        let craneHook = SKAction.runBlock({() in self.spawnCrane()})
+        //        let delay = SKAction.waitForDuration(NSTimeInterval(2.0))
+        //        let spawnThenDelay = SKAction.sequence([spawnBench,delay,spawnTrashcan,delay, delay, craneHook])
+        //        let spawnThenDelayForever = SKAction.repeatActionForever(spawnThenDelay)
+        //        self.runAction(spawnThenDelayForever)
+        
         // Swipe Recognizer Setup [Tuan/Vincent]
         var swipeUpRecognizer = UISwipeGestureRecognizer(target: self, action: "swipeUpAction:")
         swipeUpRecognizer.direction = UISwipeGestureRecognizerDirection.Up

import AVFoundation

class GameScene: SKScene, SKPhysicsContactDelegate {

    var hero = SKSpriteNode()
    var road = SKSpriteNode()
    // Factor to set entry X position for hero

        let spawnThenDelayForever = SKAction.repeatActionForever(spawnThenDelay)
        self.runAction(spawnThenDelayForever)
    }
    
    
    
    // MARK: - HERO ACTIONS
    // [Tuan/Vincent]
