コード例 #1
0
 public AnimationBackground2DImageComplex(ContentManager Content, BinaryReader BR)
     : base(BackgroundTypeName)
 {
     Path            = BR.ReadString();
     BackgroundChain = new AnimationBackgroundObject2D(Content, Path);
     LoadBase(BR);
 }
コード例 #2
0
 public AnimationBackground2DImageComplex(ContentManager Content, string Path)
     : base(BackgroundTypeName)
 {
     this.Path       = Path;
     BackgroundChain = new AnimationBackgroundObject2D(Content, Path);
     _RepeatXOffset  = BackgroundChain.sprBackground.Width;
     _RepeatYOffset  = BackgroundChain.sprBackground.Height;
 }
コード例 #3
0
        public AnimationBackground2DImageComplex(AnimationBackgroundObject2D BackgroundChain)
            : base(BackgroundTypeName)
        {
            this.BackgroundChain = BackgroundChain;

            RepeatX = false;
            RepeatY = false;
            Depth   = 0.5f;
            UseParallaxScrolling = false;
        }
コード例 #4
0
 public AnimationBackground2DImageComplex(ContentManager Content, string Path)
     : base(BackgroundTypeName)
 {
     this.Path       = Path;
     BackgroundChain = new AnimationBackgroundObject2D(Content, Path);
 }
コード例 #5
0
 public AnimationBackground3DBillboardComplex(AnimationBackgroundObject2D BackgroundChain)
     : base(BackgroundTypeName)
 {
     this.BackgroundChain = BackgroundChain;
 }