             lineAnimationwork.toValue = 0.0
             lineAnimationwork.duration = 0.3
             lineAnimation.append(lineAnimationwork)
-            
+            lineAnimation[i].delegate = self
         }
         
         //viewへの追加と前後関係の調整

//

//TODO: 丸をアニメーションの線にする Done
//TODO: アニメーションから点線を伸ばす
//TODO: 点線の先にどの画面へ行くのかを文字で表示
//TODO: ボタンの3つに画面遷移を対応づける
//TODO: ボタン3つを色分けする

    let ovalShapeLayerArrayColorCode: [String] = ["6648ff","6648ff","6648ff","6648ff"]       //ぐるぐる円のRGBカラーコード
    var ovalShapeLayerArray: [CAShapeLayer] = []
    var tap: [UITapGestureRecognizer] = []
    let moveToPointFirst: [[Int]] = [[248,110],[100,570],[230,640]]
    let addToPointFirst: [[Int]] = [[248,270],[100,350],[230,420]]
    var Straightline: [UIBezierPath] = []
    var lineShapeLayer: [CAShapeLayer] = []
    var lineAnimation: [CABasicAnimation] = []
