public override void Explode() { //Wipe the "pass turn" action from the projectile and pass the responsability to the mine. Action explodeAction = OnFinalizeExecutionAction; OnFinalizeExecutionAction = default; base.Explode(); // The mine must be added on the scene AFTER the explosion // to preventing it from being exploded by the weather RaonLauncherMineSS rlmss = new RaonLauncherMineSS(Mobile, previousPosition.ToIntegerDomain(), explodeAction); LevelScene.MineList.Add(rlmss); }
public RaonLauncherMineSSAutomatedMovement(RaonLauncherMineSS mobile) : base(mobile) { }