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

DrawPowers() private method

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

            for (int i = 0; i < PowerManager.NumPowers; i++)
            {
                ScreenManager.SpriteBatch.Draw(powerIcons[i],
                        powerIconLocations[PlayerNum][i], Color.White);

                if (powerSelected == i)
                {
                    ScreenManager.SpriteBatch.Draw(highlightIcon,
                        powerHighlightIconLocations[PlayerNum][i],
                        highlightIconSourceRect,
                        Color.White,
                        highlightRotations[currentHighlightRotation],
                        highlightOrigin,
                        SpriteEffects.None,
                        1.0f);
                    ScreenManager.SpriteBatch.DrawString(towerTitle, PowerManager.powerInformation[i].name,
                        powerNameLocation[PlayerNum], Color.White);
                    ScreenManager.SpriteBatch.DrawString(towerPrice, PowerManager.powerInformation[i].costString,
                        powerPriceLocation[PlayerNum], Color.White);
                    ScreenManager.SpriteBatch.DrawString(towerDescription, PowerManager.powerInformation[i].description,
                        powerDescriptionLocation[PlayerNum], Color.White);
                }
            }
        }