Esempio n. 1
0
            public DetonationSequence(Actor self, MadTank mad, Target target)
            {
                this.self   = self;
                this.mad    = mad;
                this.target = target;

                move         = self.Trait <IMove>();
                wfsb         = self.Trait <WithFacingSpriteBody>();
                screenShaker = self.World.WorldActor.Trait <ScreenShaker>();
            }
Esempio n. 2
0
 public DetonationSequence(Actor self, MadTank mad)
     : this(self, mad, Target.Invalid)
 {
     assignTargetOnFirstRun = true;
 }