UHSampleGame.Players.Player.DrawOffenseTowers C# (CSharp) Method

DrawOffenseTowers() private method

private DrawOffenseTowers ( ) : void
return void
        void DrawOffenseTowers()
        {
            ScreenManager.SpriteBatch.Draw(offensiveTab[PlayerNum][TeamNum], globalLocations[PlayerNum], Color.White);

            for (int i = 0; i < NUM_OFFENSE_TOWERS; i++)
            {
                ScreenManager.SpriteBatch.Draw(offenseIcons[i], iconLocations[PlayerNum][i], Color.White);
                if (i == offenseTowerSelected)
                {
                    ScreenManager.SpriteBatch.Draw(highlightIcon,
                        highlightIconLocations[PlayerNum][i],
                        highlightIconSourceRect,
                        Color.White,
                        highlightRotations[currentHighlightRotation],
                        highlightOrigin,
                        SpriteEffects.None,
                        1.0f);
                    ScreenManager.SpriteBatch.DrawString(towerTitle, offenseTowerInfo[i].name,
                        offenseTowerInfo[i].nameLocation[PlayerNum], Color.White);
                    ScreenManager.SpriteBatch.DrawString(towerPrice, offenseTowerInfo[i].price,
                        offenseTowerInfo[i].priceLocation[PlayerNum], Color.White);
                    ScreenManager.SpriteBatch.DrawString(towerDescription, offenseTowerInfo[i].description,
                        offenseTowerInfo[i].descriptionLocation[PlayerNum], Color.White);
                }

            }
        }