public AnimationBackground2DImageComplex(ContentManager Content, BinaryReader BR) : base(BackgroundTypeName) { Path = BR.ReadString(); BackgroundChain = new AnimationBackgroundObject2D(Content, Path); LoadBase(BR); }
public AnimationBackground2DImageComplex(ContentManager Content, string Path) : base(BackgroundTypeName) { this.Path = Path; BackgroundChain = new AnimationBackgroundObject2D(Content, Path); _RepeatXOffset = BackgroundChain.sprBackground.Width; _RepeatYOffset = BackgroundChain.sprBackground.Height; }
public AnimationBackground2DImageComplex(AnimationBackgroundObject2D BackgroundChain) : base(BackgroundTypeName) { this.BackgroundChain = BackgroundChain; RepeatX = false; RepeatY = false; Depth = 0.5f; UseParallaxScrolling = false; }
public AnimationBackground2DImageComplex(ContentManager Content, string Path) : base(BackgroundTypeName) { this.Path = Path; BackgroundChain = new AnimationBackgroundObject2D(Content, Path); }
public AnimationBackground3DBillboardComplex(AnimationBackgroundObject2D BackgroundChain) : base(BackgroundTypeName) { this.BackgroundChain = BackgroundChain; }