Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ willDie
Method
willDie
code/main/Egg.ts:35–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
34
// willDie()
35
public willDie(): void{
36
this.getQuest().getGame().getQuestLog().addMessage(
new
QuestLogMessage(
"An egg was destroyed."
));
37
this.callbackWhenDying.fire();
38
}
39
}
Callers
1
updateEntities
Method · 0.45
Calls
5
addMessage
Method · 0.80
getQuestLog
Method · 0.80
getQuest
Method · 0.80
fire
Method · 0.65
getGame
Method · 0.45
Tested by
no test coverage detected