public override void Detonate(object sender, EventArgs e) { BombsManager.UnregisterMine((e as BombDetonationEventArgs).BombObject); RegisterDetonationTriggerForShip((e as BombDetonationEventArgs).DetonatedShip); base.Detonate(sender, e); }
public override void Detonate(object sender, EventArgs e) { BombsManager.UnregisterMine(BombObject); RegisterDetonationTriggerForShip(sender as GenericShip); base.Detonate(sender, e); }