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

Method setMaxHp

code/main/Player.ts:443–446  ·  view source on GitHub ↗
(hp: number)

Source from the content-addressed store, hash-verified

441 }
442
443 public setMaxHp(hp: number): void{
444 super.setMaxHp(hp);
445 this.game.updateStatusBar();
446 }
447
448 // Private methods
449 private drawOnRenderArea(): void{

Callers 15

reCalcMaxHpMethod · 0.95
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45

Calls 1

updateStatusBarMethod · 0.80

Tested by

no test coverage detected