예제 #1
0
        public override bool Draw(SpriteBatch DrawBatch)
        {
            Rectangle rectDraw = new Rectangle()
            {
                X      = (int)TopLeft.X,
                Y      = (int)TopLeft.Y,
                Height = this.Height,
                Width  = this.Width,
            };

            cTxtrAtlas.DrawTile(cstrTxtrName, DrawBatch, rectDraw, Tint, Rotation);

            return(true);
        }