示例#1
0
        /// <summary>
        /// クローンを作成します。
        /// </summary>
        /// <returns>クローン</returns>
        public EffectSprite Clone()
        {
            EffectSprite ret = new EffectSprite();

            ret.Angle            = Angle;
            ret.AnimationHandles = AnimationHandles;
            ret.Frames           = Frames;
            ret.GraphicHandle    = GraphicHandle;
            ret.HomeX            = HomeX;
            ret.HomeY            = HomeY;
            ret.ScaleX           = ScaleX;
            ret.ScaleY           = ScaleY;
            ret.Transparency     = Transparency;
            ret.X = X;
            ret.Y = Y;

            return(ret);
        }
示例#2
0
文件: Sprite.cs 项目: kb10uy/Kb10uy
        /// <summary>
        /// クローンを作成します。
        /// </summary>
        /// <returns>クローン</returns>
        public EffectSprite Clone()
        {
            EffectSprite ret = new EffectSprite();
            ret.Angle = Angle;
            ret.AnimationHandles = AnimationHandles;
            ret.Frames = Frames;
            ret.GraphicHandle = GraphicHandle;
            ret.HomeX = HomeX;
            ret.HomeY = HomeY;
            ret.ScaleX = ScaleX;
            ret.ScaleY = ScaleY;
            ret.Transparency = Transparency;
            ret.X = X;
            ret.Y = Y;

            return ret;
        }