コード例 #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;
        }