Exemplo n.º 1
0
        public override void FireInternal()
        {
            var ex = new Explosive(this);

            ex.SetProperty <Character>(nameof(Holder), this.Holder);
            ProximityMineDropper.PlaceMineSafe(ex, Holder);
            SpaceTime.CurrentSpaceTime.Add(ex);
        }
Exemplo n.º 2
0
 public override void FireInternal()
 {
     if (activeMine != null)
     {
         activeMine.Explode();
         activeMine = null;
     }
     else
     {
         activeMine = new Explosive();
         activeMine.MoveTo(Holder.Left, Holder.Top);
         SpaceTime.CurrentSpaceTime.Add(activeMine);
     }
 }