public void TaskOnClick()
 {
     if (isVictory)
     {
         EndGame.Victory();
     }
     else
     {
         EndGame.Defeat();
     }
 }