public VocabularyFormat(string _index, string _vocabulary, string _meaning, string _check, string _day)
 {
     index      = int.Parse(_index);
     vocabulary = _vocabulary;
     meaning    = _meaning;
     check      = (VocabularyFormat.CheckClear) int.Parse(_check);
     day        = _day;
 }
    void Update()
    {
        countDownTime -= Time.deltaTime;
        timeText.text  = countDownTime.ToString("f0");
        if (countDownTime <= 0)
        {
            countDownTime = 0;


            if (!battleEnd)
            {
                if (isPlayerTurn)
                {
                    endingText.SetActive(true);      //そこまでを表示
                    end.text = "そこまで!";
                    result.SetActive(true);          //リザルトを表示
                    winner.text = "黒の勝ち!";
                    battleEnd   = true;              //試合が終わったので状態チェック判定を切る
                    audioSource.PlayOneShot(ending); //カンカンカンカン
                }
                else
                {
                    endingText.SetActive(true);      //そこまでを表示
                    end.text = "そこまで!";
                    result.SetActive(true);          //リザルトを表示
                    winner.text = "白の勝ち!";
                    battleEnd   = true;              //試合が終わったので状態チェック判定を切る
                    audioSource.PlayOneShot(ending); //カンカンカンカン
                }
            }
        }


        if (!battleEnd)
        {
            if (CheckClear.CheckStatus(WHITE))       //白の状態をチェック
            {
                if (CheckClear.CheckStatus(BLACK))   //もし同時に黒もそろってたら引き分け
                {
                    endingText.SetActive(true);      //そこまでを表示
                    end.text = "そこまで!";
                    result.SetActive(true);          //リザルトを表示
                    winner.text = "ひきわけ";
                    battleEnd   = true;              //試合が終わったので状態チェック判定を切る
                    audioSource.PlayOneShot(ending); //カンカンカンカン
                    countDownTime = 0;
                }
                else//もしそろってなかったら白の勝ち
                {
                    endingText.SetActive(true);//そこまでを表示
                    end.text = "そこまで!";
                    result.SetActive(true);          //リザルトを表示
                    winner.text = "白の勝ち!";
                    battleEnd   = true;              //試合が終わったので状態チェック判定を切る
                    audioSource.PlayOneShot(ending); //カンカンカンカン
                    countDownTime = 0;
                }

                return;
            }
            if (CheckClear.CheckStatus(BLACK))       //黒の状態をチェック
            {
                if (!CheckClear.CheckStatus(WHITE))  //もし白がそろってなかったら
                {
                    endingText.SetActive(true);      //そこまでを表示
                    end.text = "そこまで!";
                    result.SetActive(true);          //リザルトを表示
                    winner.text = "黒の勝ち!";
                    battleEnd   = true;              //試合が終わったので状態チェック判定を切る
                    audioSource.PlayOneShot(ending); //カンカンカンカン
                    countDownTime = 0;
                }
                return;
            }
        }

        if (isPlayerTurn)
        {
            whiteSetStone();
        }
        else
        {
            blackSetStone();
        }

        if (count == 2)
        {
            CanSetPos();
            count = 0;
        }
    }