         super.viewDidLoad()
         initMapView()
         initManager()
-        // notification()
         setLocateManager()
-        
-        
+        //let arukeTimeController = ARukeTimeController()
+        //arukeTimeController.startAttackTimer(1)
     }
     
     func initManager(){
-        mapRouteManager.mapView = mapView
         mapCheckpoint.mapView = mapView
-        
-        checkpoints = mapCheckpoint.getRandomDummyCheckpoint()
-        mapCheckpoint.drawCheckpointMarker(checkpoints)
-        
     }
     
     // mapViewの初期化. 最初は琉球大学を写すよう指定
     func initMapView(){
 
         // GoogleMapの初期化
-        getInitDummyCamera()
+        //getInitDummyCamera()
         self.mapView.delegate = self
         self.mapView.settings.compassButton = true
         self.mapView.settings.myLocationButton = true

                                              zoom: cameraZoomLevel)
        self.mapView.camera = camera
        
        guard
            let goal = checkpoints.first else {
                checkpoints = mapCheckpoint.getRandomDummyCheckpoint()
                return
            }
        
        
        if oldLocation == nil {
            oldLocation = location
            mapRouteManager.getRoutes(location, goal)
        }
        let locationDistance = location.distance(from: oldLocation)
        //notification()
        if mapRouteManager.isCheckpointArrive(location, goal){
            notification()
            // 遷移
            self.fromMaptoEventCotroller()
            
        }else{

            mapRouteManager.updateRoute(myLocation: location)
            scoreManager.setScore(locationDistance)
            oldLocation = location
        }
    }
    
    func notification() {
        

    
    let locationManager = CLLocationManager()
    let scoreManager = ScoreManager()
    let mapCheckpoint = MapCheckpoint()
    
    // エレメントの数
    let elmentNum = 10
    
    // エレメントを選択した時に必要な変数群
    var selectElementWindow: UIWindow!
    var selectElementButton = UIButton()
    let initWaitTime = 5.0 + 1.0;
    var waitTime = 0.0;
    var waitTimeLabel = UILabel()
    
    
    var checkpoints:[CLLocation] = []
    
    @IBOutlet var mapView: GMSMapView!
    
    var selectElementPos = CLLocation()
    var isGetCheckpoint = false

    let cameraZoomLevel:Float = 17
    
