public void ChangeDetonateType(bool detonate) { if (detonate) { DetonateType = new CanDetonate(Owner.Spellbook.Spell1); } else { DetonateType = new CantDetonate(); } }
public StasisTrap(Unit owner, IDetonateType detonateType) : base(owner, detonateType) { Range = 400f; RangeSystem = new CanDrawRange(owner, Range, Color.White); }
public LandMine(Unit owner, IDetonateType detonateType) : base(owner, detonateType) { }
public void ChangeDetonateType(IDetonateType type) { DetonateType = type; }
protected BombBase(Unit owner, IDetonateType detonateType) { Owner = owner; DetonateType = detonateType; Init(); }