private void UpdateProgressBarColor()
{
if (progressBarRectangle.Width >= 2 * GameConstants.HorizontalGameResolution / 3)
{
progressBarTextureType = 0;
}
if (progressBarRectangle.Width <= 2 * GameConstants.HorizontalGameResolution / 3)
{
progressBarTextureType = 1;
}
if (progressBarRectangle.Width <= GameConstants.HorizontalGameResolution / 3)
{
progressBarTextureType = 2;
}
}