public MadTank(Actor self, MadTankInfo info) { this.self = self; this.info = info; wfsb = self.Trait <WithFacingSpriteBody>(); screenShaker = self.World.WorldActor.Trait <ScreenShaker>(); }
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>(); }
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>(); }