public UnloadCargo(Actor self, bool unloadAll) { this.self = self; cargo = self.Trait<Cargo>(); cloak = self.TraitOrDefault<Cloak>(); this.unloadAll = unloadAll; }
public Infiltrate(Actor self, Actor target) : base(self, target) { this.target = target; cloak = self.TraitOrDefault<Cloak>(); }
public Infiltrate(Actor self, Actor target, EnterBehaviour enterBehaviour, Stance validStances, string notification) : base(self, target, enterBehaviour) { this.target = target; this.validStances = validStances; this.notification = notification; cloak = self.TraitOrDefault<Cloak>(); }
public Demolish(Actor self, Actor target, int delay, int flashes, int flashesDelay, int flashInterval, int flashDuration) : base(self, target) { this.target = target; demolishables = target.TraitsImplementing<IDemolishable>().ToArray(); this.delay = delay; this.flashes = flashes; this.flashesDelay = flashesDelay; this.flashInterval = flashInterval; this.flashDuration = flashDuration; cloak = self.TraitOrDefault<Cloak>(); }
public TargetableUnit(Actor self, TargetableUnitInfo info) { this.info = info; cloak = self.TraitOrDefault<Cloak>(); }