         
 
         self.addChild(ground)
-        
     }
     
+    
     override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
-
     }
 
     func swipeUpAction(swipe: UISwipeGestureRecognizer) {
-
-        self.jumpMode = true
-        self.jumpTime = 0.0
-        println(self.jumpNumber)
-        println(self.jumpTime)
-        println(self.deltaTime)
-//         Jump Limit Logic ------ Uncomment to use.
-        if self.jumpNumber < 2 && self.jumpTime <= 0.5 {
-            self.hero.physicsBody!.velocity = CGVectorMake(0, 0)
-            self.hero.physicsBody!.applyImpulse(CGVectorMake(0, 35))
-            self.jumpNumber += 1
+            self.jumpMode = true
+            self.jumpTime = 0.0
+            println(self.jumpNumber)
+            println(self.jumpTime)
+            println(self.deltaTime)
+            //         Jump Limit Logic ------ Uncomment to use.
+            if self.jumpNumber < 2 && self.jumpTime <= 0.5 {
+                self.hero.physicsBody!.velocity = CGVectorMake(0, 0)
+                self.hero.physicsBody!.applyImpulse(CGVectorMake(0, 35))
+                self.jumpNumber += 1
         }
     }
+    
+//    func swipeLeftAction(swipe: UISwipeGestureRecognizer) {
+//        self.speedMode = true
+//        self.speedTime = 1.0
+//        self.speedTime -= self.deltaTime
+//        println(self.speedTime)
+//        if self.speedTime <= 0 {
+//            
+//        }
+//        self.speedTime = 1.0
+//     
+//
+//        
+//    }
     
     func swipeDownAction(swipe: UISwipeGestureRecognizer) {
         println("Swipe down")

        // Determine physics body around Hero
        hero.physicsBody = SKPhysicsBody(circleOfRadius: hero.size.height / 2)

        //  hero.physicsBody = SKPhysicsBody(rectangleOfSize: CGSize(width: hero.size.width, height: hero.size.height))

        //hero.physicsBody = SKPhysicsBody(rectangleOfSize: CGSize) // look at later
        hero.physicsBody?.dynamic = true
        hero.physicsBody?.allowsRotation = false
        hero.physicsBody?.categoryBitMask = UInt32(self.heroCategory)

            }
            
        })

        
            self.currentTime = currentTime
            self.deltaTime = self.currentTime - self.previousTime
            self.previousTime = currentTime
    }
}

