I have a timer that spawns another enemy every second. I want it so that based on the score that the user has the time between spawning new enemies decreases. Basically, the higher the score the more thee enemies. Here is my current timer code.
EnemyTimer = NSTimer.scheduledTimerWithTimeInterval(1.0, target: self, selector: Selector("enemies"), userInfo: nil, repeats: true)