AIA.Selection.DrawSelectionBox C# (CSharp) Method

DrawSelectionBox() public method

public DrawSelectionBox ( SpriteBatch p_SpriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D _Texture ) : void
p_SpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
_Texture Microsoft.Xna.Framework.Graphics.Texture2D
return void
        public void DrawSelectionBox(SpriteBatch p_SpriteBatch, Texture2D _Texture)
        {
            //Draw the horizontal portions of the selection box
            DrawHorizontalLine(_SelectionBox.Y, p_SpriteBatch,  _Texture);
            DrawHorizontalLine((_SelectionBox.Y + _SelectionBox.Height), p_SpriteBatch, _Texture);

            //Draw the verticla portions of the selection box
            DrawVerticalLine(_SelectionBox.X, p_SpriteBatch, _Texture);
            DrawVerticalLine((_SelectionBox.X + _SelectionBox.Width), p_SpriteBatch,_Texture);
        }