Exemplo n.º 1
0
 public UnloadCargo(Actor self, bool unloadAll)
 {
     this.self = self;
     cargo = self.Trait<Cargo>();
     cloak = self.TraitOrDefault<Cloak>();
     this.unloadAll = unloadAll;
 }
Exemplo n.º 2
0
        public Infiltrate(Actor self, Actor target)
            : base(self, target)
        {
            this.target = target;

            cloak = self.TraitOrDefault<Cloak>();
        }
Exemplo n.º 3
0
 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>();
 }
Exemplo n.º 4
0
 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>();
 }
Exemplo n.º 5
0
 public TargetableUnit(Actor self, TargetableUnitInfo info)
 {
     this.info = info;
     cloak = self.TraitOrDefault<Cloak>();
 }