public override void StartUsing() { base.StartUsing(); ParentThing.IsStealthy = true; blinking = new BlinkBehavior(1.4582f, 0.05f); // add a blinking which signals stealth ParentThing.AddNextUpdate(blinking); Level.Current.Subtitles.Show(2, "Wonders! My body faded away...", 3f); }
protected override void OnUpdate(ref TTengine.Core.UpdateParams p) { base.OnUpdate(ref p); IsTargetMoveDefined = true; AllowNextMove(); if (SimTime >= PixelStormLevel.SCROLLING_START_TIME) { ParentThing.AddNextUpdate(new MoveUpBehavior()); Delete = true; } }