Example #1
0
 public override void Destroy(bool withEffect = true)
 {
     DrainLife(MaxLife);
     base.Destroy(withEffect);
     GamePool.FlagForPurge(ID);
     if (Weapon != null)
     {
         GamePool.FlagForPurge(Weapon.ID);
     }
 }
Example #2
0
 public void Purge()
 {
     GamePool.FlagForPurge(Id);
     GamePool.FlagForPurge(_tunnelDoor.Id);
 }