SolutionLecture5.DrawData.DrawData C# (CSharp) Метод

DrawData() публичный Метод

public DrawData ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle source, Point position, int drawWidth, int drawHeight ) : Microsoft.Xna.Framework
texture Microsoft.Xna.Framework.Graphics.Texture2D
source Microsoft.Xna.Framework.Rectangle
position Microsoft.Xna.Framework.Point
drawWidth int
drawHeight int
Результат Microsoft.Xna.Framework
        public DrawData(Texture2D texture, Rectangle source,
            Point position, int drawWidth, int drawHeight)
        {
            _texture = texture;
            _source = source;
            WorldPosition = position;
            DrawWidth = drawWidth;
            DrawHeight = drawHeight;
        }
DrawData