Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ thePlayerWon
Method
thePlayerWon
code/main/Hell.ts:150–157 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
148
}
149
150
private thePlayerWon(): boolean{
151
// If the devil is dead, we return true
152
if
(this.devil.shouldDie() == true)
153
return
true;
154
155
// Else we return false
156
return
false;
157
}
158
}
Callers
1
update
Method · 0.95
Calls
1
shouldDie
Method · 0.45
Tested by
no test coverage detected