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

DrawStatus() private method

private DrawStatus ( ) : void
return void
        void DrawStatus()
        {
            if (Type == PlayerType.Human)
            {
                ScreenManager.SpriteBatch.Draw(statusTab[PlayerNum][TeamNum], globalLocations[PlayerNum], Color.White);
                ScreenManager.SpriteBatch.Draw(healthicon, healthIconLocations[PlayerNum], Color.White);
                ScreenManager.SpriteBatch.Draw(numUnitsIcon, numUnitsIconLocations[PlayerNum], Color.White);
                SpriteBatchExtensions.DrawInt32(ScreenManager.SpriteBatch, statusScreenFont, Health, statusHealthLocation[PlayerNum], Color.White);
                //ScreenManager.SpriteBatch.DrawString(statusScreenFont, HealthString, statusHealthLocation[PlayerNum], Color.White);
                SpriteBatchExtensions.DrawInt32(ScreenManager.SpriteBatch, statusScreenFont,
                    UnitCollection.UnitCountForPlayer(PlayerNum), statusNumberOfUnitsLocation[PlayerNum], Color.White);
                ///ScreenManager.SpriteBatch.DrawString(statusScreenFont, UnitCollection.UnitCountForPlayerString(PlayerNum),
                //    statusNumberOfUnitsLocation[PlayerNum], Color.White);
            }
            else
            {
                ScreenManager.SpriteBatch.Draw(computerTags[TeamNum], globalLocations[PlayerNum], Color.White);
                ScreenManager.SpriteBatch.Draw(healthicon, healthIconLocations[PlayerNum], Color.White);
                ScreenManager.SpriteBatch.Draw(numUnitsIcon, numUnitsIconLocations[PlayerNum], Color.White);
                SpriteBatchExtensions.DrawInt32(ScreenManager.SpriteBatch, statusScreenFont, Health, statusHealthLocation[PlayerNum], Color.White);
                //ScreenManager.SpriteBatch.DrawString(statusScreenFont, HealthString,
                //    statusHealthLocation[PlayerNum], Color.White);

                SpriteBatchExtensions.DrawInt32(ScreenManager.SpriteBatch, statusScreenFont,
                    UnitCollection.UnitCountForPlayer(PlayerNum), statusNumberOfUnitsLocation[PlayerNum], Color.White);
                //ScreenManager.SpriteBatch.DrawString(statusScreenFont, UnitCollection.UnitCountForPlayerString(PlayerNum),
                //statusNumberOfUnitsLocation[PlayerNum], Color.White);
            }
        }