Exemplo n.º 1
0
 // ===================== Destroy =====================
 /// <summary>
 /// Destroy the plant and the associated glower if existing.
 /// </summary>
 public override void Destroy(DestroyMode mode = DestroyMode.Vanish)
 {
     base.Destroy(mode);
     TryToDestroyGlower();
     if (cluster.DestroyedOrNull() == false)
     {
         cluster.NotifyPlantRemoved();
     }
 }