Exemple #1
0
 public void MoveTo(Zone z)
 {
     if (ReferenceEquals(z, zone))
     {
         Debug.Log("Moved to same");
     }
     else
     {
         if (zone != null && !(zone.Equals(null)))
         {
             zone.DropCard(this);
         }
         z.AddCard(this);
         zone = z;
     }
 }