         self.jumpNumber = 0
     }
     
+    // MARK: - OBSTACLES
+    // [Brian/Kori]
+    
+    func spawnObstacles(){
+        
+        let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
+        let craneHook = SKSpriteNode(imageNamed: "crane.gif")
+        
+        trashCan.position = CGPointMake(/*CGRectGetMinX(self.frame) +*/ self.frame.width, 75)
+        trashCan.size = CGSize(width: 35, height: 40)
+        trashCan.physicsBody = SKPhysicsBody(rectangleOfSize: CGSize(width: 35, height: 40))
+        trashCan.physicsBody?.dynamic = false
+        trashCan.zPosition = 12
+        trashCan.name = "trashCan"
+        self.addChild(trashCan)
+        
+        craneHook.anchorPoint = CGPointMake(1.0, 5.0)
+        craneHook.position = CGPointMake((CGRectGetMaxX(self.frame) * 0.75),
+            CGRectGetMaxY(self.frame))
+        craneHook.size = CGSize(width: 60.0, height: 100.0)
+        self.addChild(craneHook)
+    }
+    
 }

        
        self.addChild(ground)
        
    }
    
    override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
//        /* Called when a touch begins */
//        
//        for touch: AnyObject in touches {
//            let location = touch.locationInNode(self)
//            
//            let sprite = SKSpriteNode(imageNamed:"Spaceship")
//            
//            sprite.xScale = 0.5
//            sprite.yScale = 0.5
//            sprite.position = location
//            
//            let action = SKAction.rotateByAngle(CGFloat(M_PI), duration:1)
//            
//            sprite.runAction(SKAction.repeatActionForever(action))
//            
//            self.addChild(sprite)
        }
  
  //kori and brian
  func spawnObstacles(){
    
    let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
    let craneHook = SKSpriteNode(imageNamed: "crane.gif")
    
    trashCan.position = CGPointMake(/*CGRectGetMinX(self.frame) +*/ self.frame.width, 75)
    trashCan.size = CGSize(width: 35, height: 40)
    trashCan.physicsBody = SKPhysicsBody(rectangleOfSize: CGSize(width: 35, height: 40))
    trashCan.physicsBody?.dynamic = false
    trashCan.zPosition = 12
    trashCan.name = "trashCan"
    self.addChild(trashCan)
    
    craneHook.anchorPoint = CGPointMake(1.0, 5.0)
    craneHook.position = CGPointMake((CGRectGetMaxX(self.frame) * 0.75),
      CGRectGetMaxY(self.frame))
    craneHook.size = CGSize(width: 60.0, height: 100.0)
    self.addChild(craneHook)
    
  }
  
  
    func swipeAction(swipe: UISwipeGestureRecognizer) {
        self.jumpMode = true

    let heroCategory = 0x1 << 1
    let groundCategory = 0x1 << 2
  
    override func didMoveToView(view: SKView) {
    
        // Texture Variables
        let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
        let craneHook = SKSpriteNode(imageNamed: "crane.gif")
        var bradJumpTexture = SKTexture(imageNamed: "")
        var bradDuckTexture = SKTexture(imageNamed: "")

        // Swipe Recognizer Setup [Tuan/Vincent]
        var swipeUpRecognizer = UISwipeGestureRecognizer(target: self, action: "swipeUpAction:")
        swipeUpRecognizer.direction = UISwipeGestureRecognizerDirection.Up
