         self.scheduleMission(earliestMission)
     }
     
-    func scheduleMission(_ mission: Mission) {
+    func scheduleMission(mission: Mission) {
         assert(gatling_dispatch_current_queue_label() == schedulingQueueLabel, "NOT IN SCHEDULING QUEUE")
         let nextFireTime = mission.timeStrategy.nextFireTime
         func schedule() {



public protocol GatlingTarget: NSObjectProtocol {
    func shotWithBullet(_ bullet: Bullet?, ofGatling gatling: Gatling)
}



     
     - parameter mission: the mission to add.
     */
    func addMission(mission: Mission) {
        assert(gatling_dispatch_current_queue_label() == schedulingQueueLabel, "NOT IN SCHEDULING QUEUE")
        self.missions.append(mission)
        self.scheduleMission(mission)
    }
    
    func performMission(mission: Mission) {
        mission.target?.shotWithBullet(mission.configuration.bullet, ofGatling: self)
    }
    
