Beispiel #1
0
 public void Select()
 {
     if (y3 == 2f && player2.suaVez == true)
     {
         selected = true;
         //		x = selected_x;
         y3 = selected_y2;
         //SetLayer (-2.5f);
         properties.OnSelect();
         properties.SetParent(this);
     }
     if (y3 == -2f && player1.suaVez == true)
     {
         selected = true;
         //		x = selected_x;
         y3 = selected_y;
         //SetLayer (-2.5f);
         properties.OnSelect();
         properties.SetParent(this);
     }
 }