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

Method update

code/main/JellyFish.ts:36–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35 // Public methods
36 public update(): void{
37 // We follow the player
38 this.goTowards(this.getRenderAreaCenter(), this.getQuest().getGame().getPlayer().getRenderAreaCenter(), 3);
39
40 // We call the mother update method
41 super.update();
42 }
43
44 // willDie()
45 public willDie(): void{

Callers

nothing calls this directly

Calls 5

goTowardsMethod · 0.80
getRenderAreaCenterMethod · 0.80
getPlayerMethod · 0.80
getQuestMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected