Пример #1
0
            public DetonationSequence(Actor self, ChargingSelfDestruct csd, Target target)
            {
                this.self   = self;
                this.csd    = csd;
                this.target = target;

                move         = self.Trait <IMove>();
                wfsb         = self.Trait <WithFacingSpriteBody>();
                screenShaker = self.World.WorldActor.Trait <ScreenShaker>();
            }
Пример #2
0
 public DetonationSequence(Actor self, ChargingSelfDestruct mad)
     : this(self, mad, Target.Invalid)
 {
     assignTargetOnFirstRun = true;
 }