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