public override IEnumerable <Wait> RoutineDestroy() { yield return(DeadWait); yield return(Scheduler.Instance.RunAndWait(RoutineFlashWing(15))); if (Dead && !Destroyed && this != World.Player) { this.Destroy(); } new ScreenFlashLocal(World, () => ColorMatrix.Sun(), VisualTarget, 60, 150, 80, 50); new FireNuke(World, SpriteLoader.Instance.AddSprite("content/nuke_fire"), VisualTarget, 1, 80); new ScreenShakeRandom(World, 8, 80, LerpHelper.QuarticIn); yield return(new WaitTime(100)); }