Esempio n. 1
0
 public virtual BaseRender Clone()
 {
     var r = new BaseRender(Entity, Name);
     r.Color = Color;
     r.Alpha = Alpha;
     r.Scale = Scale;
     r.Layer = Layer;
     r.Flip = Flip;
     r.Origin = Origin;
     r.DrawRect = DrawRect;
     return r;
 }
Esempio n. 2
0
        public virtual BaseRender Clone()
        {
            var r = new BaseRender(Entity, Name);

            r.Color    = Color;
            r.Alpha    = Alpha;
            r.Scale    = Scale;
            r.Layer    = Layer;
            r.Flip     = Flip;
            r.Origin   = Origin;
            r.DrawRect = DrawRect;
            return(r);
        }