             bg.position = CGPoint(x: index * Int(bg.size.width), y: 0)
             bg.name = "background"
             self.addChild(bg)
-
         }
         
         // Roads [Tina]

    override func didMoveToView(view: SKView) {
    
        // 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: "")

        // Swipe Up Recognizer  [Tuan/Vincent]
        var swipeUpRecognizer = UISwipeGestureRecognizer(target: self, action: "swipeUpAction:")
        swipeUpRecognizer.direction = UISwipeGestureRecognizerDirection.Up
        self.view?.addGestureRecognizer(swipeUpRecognizer)
        
        //Swipe Down Recognizer
        var swipeDownRecognizer = UISwipeGestureRecognizer(target: self, action: "swipeDownAction:")
        swipeDownRecognizer.direction = UISwipeGestureRecognizerDirection.Down
        self.view?.addGestureRecognizer(swipeDownRecognizer)
        
//        self.addChild(obst2)
        
        
        // Physics - setting gravity to game world

        // Physics - Setting Gravity to Game World
        self.physicsWorld.gravity = CGVectorMake(0.0, -9.8)
        self.physicsWorld.contactDelegate = self

        
        // Hero [Kevin/Tina]
        var bradTexture = SKTexture(imageNamed: "hero.jpg") // Change 90x90 image
        var bradJumpTexture = SKTexture(imageNamed: "")
        var bradDuckTexture = SKTexture(imageNamed: "")
        bradTexture.filteringMode = SKTextureFilteringMode.Nearest
        bradDuckTexture.filteringMode = SKTextureFilteringMode.Nearest
        
        //Tina/ brad jumping texture
