MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / tryToUpdateHealthBar

Method tryToUpdateHealthBar

code/main/QuestEntity.ts:739–743  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

737 }
738
739 private tryToUpdateHealthBar(): void{
740 // Update our health bar if we have one
741 if(this.healthBar != null)
742 this.healthBar.update();
743 }
744}

Callers 2

setHpMethod · 0.95
setMaxHpMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected