Example #1
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            base.Draw(spriteBatch);

            //if (_drawBounds)
            //{
            Primitives.DrawBounds(_dotBounds, _dotBoundLines, Contents.rectangleTex, Color.Red,
                                  spriteBatch, 5);
            Primitives.DrawBounds(_barBounds, _barBoundLines, Contents.rectangleTex, Color.Red,
                                  spriteBatch, 5);
            //}

            spriteBatch.Draw(_bar, _barBounds.Location, Color.White);
            spriteBatch.Draw(_dotNoHover, _dotBounds.Location, Color.White);
        }