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

Method shouldDie

code/main/Player.ts:347–353  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

345 }
346
347 public shouldDie(): boolean{
348 // We use the method of our mother class PLUS we're also dead if out of area
349 if(super.shouldDie() || this.getOutOfArea())
350 return true;
351
352 return false;
353 }
354
355 public squeeze(): void{
356 // Do different things depending on the current character type

Callers 15

updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateEntitiesMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
thePlayerWonMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45

Calls 1

getOutOfAreaMethod · 0.80

Tested by

no test coverage detected