Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
setHp
Method · 0.95
setMaxHp
Method · 0.95
Calls
1
update
Method · 0.45
Tested by
no test coverage detected