Exemple #1
0
 public void insertTemp(bool visible)
 {
     if (temp != null)
     {
         temp.setVisible(visible);
         insert(temp);
         temp = null;
     }
 }
Exemple #2
0
 public void add(CardS card)
 {
     if (card == null)
     {
         return;
     }
     list.Add(card);
     card.player    = null;
     card.position  = 0;
     card.scale     = 0f;
     card.default_x = 0f;
     card.y         = 0f;
     card.default_y = 0f;
     card.SetLayer(0f);
     card.setVisible(false);
     card.x = transform.position.x;
     card.getCV().flush();
 }