public void Draw(ref BigProgressBarInfo info, SpriteBatch spriteBatch) { Texture2D texture2D = TextureAssets.NpcHeadBoss[this._headIndex].Value; Rectangle barIconFrame = texture2D.Frame(1, 1, 0, 0, 0, 0); BigProgressBarHelper.DrawFancyBar(spriteBatch, this._lifePercentToShow, texture2D, barIconFrame); }
public void Draw(BigProgressBarInfo info, SpriteBatch spriteBatch) { Texture2D value = TextureAssets.NpcHeadBoss[_headIndex].Value; Rectangle barIconFrame = value.Frame(); BigProgressBarHelper.DrawFancyBar(spriteBatch, _lifePercentToShow, value, barIconFrame); }
public void Draw(ref BigProgressBarInfo info, SpriteBatch spriteBatch) { int bossHeadTexture = NPCID.Sets.BossHeadTextures[491]; Texture2D texture2D = TextureAssets.NpcHeadBoss[bossHeadTexture].get_Value(); Rectangle barIconFrame = texture2D.Frame(1, 1, 0, 0, 0, 0); BigProgressBarHelper.DrawFancyBar(spriteBatch, this._lifePercentToShow, texture2D, barIconFrame); }
public void Draw(BigProgressBarInfo info, SpriteBatch spriteBatch) { int num = NPCID.Sets.BossHeadTextures[396]; Texture2D value = TextureAssets.NpcHeadBoss[num].Value; Rectangle barIconFrame = value.Frame(); BigProgressBarHelper.DrawFancyBar(spriteBatch, _lifePercentToShow, value, barIconFrame); }