Exemplo n.º 1
0
 //if this Item is dropped, destroy the Barrier if it exists
 protected override void DropItem()
 {
     if (shield != null)
     {
         shield.DestroyThis();
         shield = null;
     }
 }