Exemplo n.º 1
0
 public DelayedWeaponTrigger(AttachDelayedWeaponWarhead warhead, Actor attachedBy)
 {
     this.TriggerTime   = warhead.TriggerTime;
     this.RemainingTime = TriggerTime;
     this.DeathTypes    = warhead.DeathTypes;
     this.weaponInfo    = warhead.WeaponInfo;
     this.AttachedBy    = attachedBy;
     this.IsValid       = true;
 }
 public DelayedWeaponTrigger(AttachDelayedWeaponWarhead warhead, WarheadArgs args)
 {
     this.args     = args;
     TriggerTime   = warhead.TriggerTime;
     RemainingTime = TriggerTime;
     DeathTypes    = warhead.DeathTypes;
     weaponInfo    = warhead.WeaponInfo;
     AttachedBy    = args.SourceActor;
     IsValid       = true;
 }